EcmaPolicy class sealed

A strategy to decide ICU4X for i18n functionality or delegate to the built-in browser support. See also

  • AlwaysEcma Always use the browser (default for web)
  • NeverEcma Never use the browser (default for native)
  • SometimesEcma Use the browser only for the specified locales, otherwise use ICU4X
  • SometimesICU4X Use ICU4X only for the specified locales, otherwise use the browser
Implementers

Constructors

EcmaPolicy()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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