validateServices static method

String? validateServices(
  1. String? value
)

Implementation

static String? validateServices(String? value) {
  if (value == null || value.isEmpty) {
    return 'Value cannot be empty';
  }

  return null;
}