ResolvedDisplayNamesOptions constructor

ResolvedDisplayNamesOptions({
  1. String? locale,
  2. RelativeTimeFormatStyle? style,
  3. DisplayNamesType? type,
  4. DisplayNamesFallback? fallback,
  5. DisplayNamesLanguageDisplay? languageDisplay,
})

Implementation

factory ResolvedDisplayNamesOptions({
  _i2.String? locale,
  _i3.RelativeTimeFormatStyle? style,
  _i3.DisplayNamesType? type,
  _i3.DisplayNamesFallback? fallback,
  _i3.DisplayNamesLanguageDisplay? languageDisplay,
}) =>
    ResolvedDisplayNamesOptions._(
      locale: locale,
      style: style?.name ?? _i4.undefined,
      type: type?.name ?? _i4.undefined,
      fallback: fallback?.name ?? _i4.undefined,
      languageDisplay: languageDisplay?.name ?? _i4.undefined,
    );