ILibDurationFmtOptions constructor

ILibDurationFmtOptions({
  1. String? locale,
  2. String? length,
  3. String? style,
  4. 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.

Implementation

ILibDurationFmtOptions({
  this.locale,
  this.length,
  this.style,
  this.useNative,
});