name property

String name

Returns the English representation of this LocalisonGender instance.

Implementation

String get name {
  switch (this) {
    case LocalisonGender.male:
      return 'male';
    case LocalisonGender.female:
      return 'female';
    case LocalisonGender.agender:
      return 'agender';
    case LocalisonGender.bigender:
      return 'bigender';
    case LocalisonGender.fluid:
      return 'fluid';
    case LocalisonGender.variant:
      return 'variant';
    case LocalisonGender.trans:
      return 'trans';
    case LocalisonGender.other:
    default:
      return 'other';
  }
}