copyWith method
DisplayNamesOptions
copyWith({
- Style? style,
- LanguageDisplay? languageDisplay,
- Fallback? fallback,
- LocaleMatcher? localeMatcher,
Implementation
DisplayNamesOptions copyWith({
Style? style,
LanguageDisplay? languageDisplay,
Fallback? fallback,
LocaleMatcher? localeMatcher,
}) {
return DisplayNamesOptions(
style: style ?? this.style,
languageDisplay: languageDisplay ?? this.languageDisplay,
fallback: fallback ?? this.fallback,
localeMatcher: localeMatcher ?? this.localeMatcher,
);
}