RelativeTimeFormatOptions constructor

RelativeTimeFormatOptions({
  1. RelativeTimeFormatLocaleMatcher? localeMatcher,
  2. RelativeTimeFormatNumeric? numeric,
  3. RelativeTimeFormatStyle? style,
})

Implementation

factory RelativeTimeFormatOptions({
  _i3.RelativeTimeFormatLocaleMatcher? localeMatcher,
  _i3.RelativeTimeFormatNumeric? numeric,
  _i3.RelativeTimeFormatStyle? style,
}) =>
    RelativeTimeFormatOptions._(
      localeMatcher: localeMatcher?.name ?? _i4.undefined,
      numeric: numeric?.name ?? _i4.undefined,
      style: style?.name ?? _i4.undefined,
    );