I18nRegistry class
The place where you register the applications langauge the I18n provider has direct contact with this class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- initialLanguage → dynamic
-
this getter is used by the I18n provider
checks if the registry is empty
and throws error if it is
read-only
-
langs
↔ Map<
String, Map< String, dynamic> > -
the langaugse of the application
langauges are added to the regisry using the
I18nRegistry.register
read / write