isNotNull method

Contract isNotNull(
  1. String? val,
  2. String key,
  3. String message
)

Implementation

Contract isNotNull(String? val, String key, String message) {
  if (val == null) {
    addNotificationByKeyAndMessage(key, message);
  }
  return this;
}