validHospitalAddress static method
Implementation
static String? validHospitalAddress({String? value}) {
if (value!.isEmpty) {
return 'Please enter Hospital Address';
} else if (value.trim().length < 3) {
return 'Please enter Hospital full Address';
}
return null;
}