I18n class

Constructors

I18n(List<Lang> _languages, {String folder = 'lang'})

Properties

folder String
final
hashCode int
The hash code for this object.
no setterinherited
label String
final
langDirectory Directory
Languages root directory
no setter
languages List<Lang>
Languages allowed
no setter
root Directory
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
translation ↔ Translation
getter/setter pair

Methods

init() Future<void>
Initialize i18n package
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerLanguages() → void
Insert languages into i18n instance
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

namespace String
no setter