RelativeTimeFormatOptions class

An object with some or all of properties of options parameter of Intl.RelativeTimeFormat constructor.

MDN. An object with some or all of properties of options parameter of Intl.RelativeTimeFormat constructor.

MDN.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Properties

hashCode int
The hash code for this object.
no setterinherited
localeMatcher RelativeTimeFormatLocaleMatcher?

Available on RelativeTimeFormatOptions, provided by the RelativeTimeFormatOptions$Typings extension

The locale matching algorithm to use. For information about this option, see Intl page.
getter/setter pair
numeric RelativeTimeFormatNumeric?

Available on RelativeTimeFormatOptions, provided by the RelativeTimeFormatOptions$Typings extension

The format of output message.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style RelativeTimeFormatStyle?

Available on RelativeTimeFormatOptions, provided by the RelativeTimeFormatOptions$Typings extension

The length of the internationalized message.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited