validateIsNull static method

String? validateIsNull(
  1. dynamic value,
  2. String fieldName
)

Implementation

static String? validateIsNull(dynamic value, String fieldName) {
  if (value == null) {
    return makeValidateFieldMessage(fieldName);
  }

  return null;
}