I18n class
多语言工具 @author 6tail
Constructors
- I18n()
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getLanguage(
) → String -
getMessage(
String key) → String -
init(
) → void -
setLanguage(
String lang) → void -
setMessages(
String lang, Map< String, String> messages) → void
Constants
- DEFAULT_LANG → const String