gender method
String
gender(
- JsonIntlGender gender,
- Symbol key, {
- Map<
String, dynamic> ? map, - Map<
String, MustacheFilter> ? filters,
Return the string corresponding to key
, using map
and filters
to
replace the mustache-like variables.
gender helps to choose the right translation variant for the specified
gender.
Implementation
String gender(
JsonIntlGender gender,
Symbol key, {
Map<String, dynamic>? map,
Map<String, MustacheFilter>? filters,
}) {
return _data.translateWithMap(
key,
map: map,
filters: filters,
gender: gender,
locale: locale.toLanguageTag(),
);
}