genderToString function Null safety

String genderToString(
  1. MoEGender gender
)

Implementation

String genderToString(MoEGender gender) {
  switch (gender) {
    case MoEGender.male:
      return genderMale;
    case MoEGender.female:
      return genderFemale;
    case MoEGender.other:
      return genderOther;
  }
}