DisplayNamesOptions constructor
DisplayNamesOptions({
- RelativeTimeFormatLocaleMatcher? localeMatcher,
- RelativeTimeFormatStyle? style,
- DisplayNamesType? type,
- DisplayNamesLanguageDisplay? languageDisplay,
- DisplayNamesFallback? fallback,
Implementation
factory DisplayNamesOptions({
_i3.RelativeTimeFormatLocaleMatcher? localeMatcher,
_i3.RelativeTimeFormatStyle? style,
_i3.DisplayNamesType? type,
_i3.DisplayNamesLanguageDisplay? languageDisplay,
_i3.DisplayNamesFallback? fallback,
}) =>
DisplayNamesOptions._(
localeMatcher: localeMatcher?.name ?? _i4.undefined,
style: style?.name ?? _i4.undefined,
type: type?.name ?? _i4.undefined,
languageDisplay: languageDisplay?.name ?? _i4.undefined,
fallback: fallback?.name ?? _i4.undefined,
);