getGenderOptions method
dynamic
getGenderOptions(
- IndividualModel? individual
Implementation
getGenderOptions(IndividualModel? individual) {
final options = RegistrationDeliverySingleton().genderOptions;
return options?.map((e) => e).firstWhereOrNull(
(element) => element.toLowerCase() == individual?.gender?.name,
);
}