validateEmptyCheck static method

String? validateEmptyCheck(
  1. String value
)

Implementation

static String? validateEmptyCheck(String value) {
  if (value.trim().isEmpty) return emptyMessage;

  return null;
}