genderSelect method

String genderSelect({
  1. required String other,
  2. String? female,
  3. String? male,
  4. String? desc,
  5. Map<String, Object>? examples,
  6. String? locale,
  7. String? name,
  8. List<Object>? args,
  9. String? meaning,
  10. bool? skip,
})

Selects a localized string based on the gender associated with this string, using Intl.gender.

Arguments:

  • other: The string to return for genders other than "female" or "male".
  • female, male: Strings for specific genders (optional).
  • desc, examples, locale, name, args, meaning, skip: Optional parameters for customizing the gender-based selection (see Intl.gender documentation).

Implementation

String genderSelect({
  required String other,
  String? female,
  String? male,
  String? desc,
  Map<String, Object>? examples,
  String? locale,
  String? name,
  List<Object>? args,
  String? meaning,
  bool? skip,
}) =>
    Intl.gender(
      this,
      female: female,
      male: male,
      other: other,
      desc: desc,
      examples: examples,
      locale: locale,
      name: name,
      args: args,
      meaning: meaning,
      skip: skip,
    );