validate method

  1. @override
void validate()

Validates

Implementation

@override
void validate() {
  if (LocalAssertUtils.isNullOrEmptyOrInvalid(_channelGroupKey, String)) {
    throw const LocalNotificationsException(
        message: 'channelGroupKey is required');
  }
  if (LocalAssertUtils.isNullOrEmptyOrInvalid(_channelGroupName, String)) {
    throw const LocalNotificationsException(
        message: 'channelGroupName is required');
  }
}