ILibDurationFmtOptions class

Constructors

ILibDurationFmtOptions({String? locale, String? length, String? style, bool? useNative})
locale Locales are specified either with a specifier string that follows the BCP-47 convention. length Specifies the length of the format to use. Valid values are "short", "medium", "long" and "full". style whether hours, minutes, and seconds should be formatted as a text string or as a regular time as on a clock. useNative The flag used to determine whether to use the native script settings for formatting the numbers.

Properties

hashCode int
The hash code for this object.
no setterinherited
length String?
getter/setter pair
locale String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style String?
getter/setter pair
useNative bool?
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