validatorBL method

String? validatorBL(
  1. dynamic value
)

Implementation

String? validatorBL(dynamic value) {
  if (value == null) return "Fill in please";
  if (value is MapEntry<String, XEnumsDefs>) {
    return null;
  } else if (value is T) {
    {
      return null;
    }
  } else if (value is DateTime) {
    {
      return null;
    }
  } else if (value.isEmpty) {
    return "Fill in please";
  }
}