gender method Null safety
Format a message differently depending on targetGender
.
Implementation
@pragma('dart2js:tryInline')
@pragma('vm:prefer-inline')
static String gender(String targetGender,
{String? female,
String? male,
required String other,
String? desc,
Map<String, Object>? examples,
String? locale,
String? name,
List<Object>? args,
String? meaning,
bool? skip}) {
// Call our internal method, dropping args and desc because they're not used
// at runtime and we want them to be optimized away.
return _gender(targetGender,
male: male,
female: female,
other: other,
locale: locale,
name: name,
args: args,
meaning: meaning);
}