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