validate method
Validates if the models has all the requirements to be considerated valid
Implementation
@override
/// Validates if the models has all the requirements to be considerated valid
void validate() {
if (_content == null) {
throw const LocalNotificationsException(
message: 'content is required.');
}
}