validateNotEmpty function

String? validateNotEmpty(
  1. String? value
)

Implementation

String? validateNotEmpty(String? value) {
  if (value == null || value.isEmpty) {
    return "lbl_required_field";
  }
  return null;
}