isNullOrNullable method

ContractValidations isNullOrNullable(
  1. dynamic value,
  2. String property,
  3. String message
)

Implementation

ContractValidations isNullOrNullable(
    dynamic value, String property, String message) {
  if (value == null || value.HasValue)
    addNotifications(
        ValidationNotification(property: property, message: message));

  return this;
}