validate method

  1. @override
void validate()
inherited

Validates

Implementation

@override
void validate() {
  if (AwesomeAssertUtils.isNullOrEmptyOrInvalid(_id)) {
    throw const AwesomeNotificationsException(
        message: 'Property id is required');
  }
  if (AwesomeAssertUtils.isNullOrEmptyOrInvalid(_channelKey)) {
    throw const AwesomeNotificationsException(
        message: 'Channel Key is required');
  }
}