convertGenderFromDartToWeb static method

dynamic convertGenderFromDartToWeb(
  1. int gender
)

Implementation

static dynamic convertGenderFromDartToWeb(int gender) {
  return genderMapping.keys.firstWhere(
      (element) => genderMapping[element] == gender,
      orElse: () => '');
}