I18nLocale class

own Locale type to decouple from dart:ui package

Constructors

I18nLocale({required String language, String? script, String? country})

Properties

country String?
final
enumConstant String
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
language String
final
languageTag String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
script String?
final

Methods

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

Operators

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

Static Methods

fromString(String localeRaw) I18nLocale

Constants

UNDEFINED_LANGUAGE → const String