I18n class

Implemented types

Constructors

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

Properties

commands → CommandServiceContract
no setterinherited
components → ComponentServiceContract
no setterinherited
console → ConsoleServiceContract
no setterinherited
container ↔ Ioc
getter/setter pairinherited
contextMenus → ContextMenuServiceContract
no setterinherited
description String
Package description
no setterinherited
environment → EnvironmentServiceContract
no setterinherited
events → EventServiceContract
no setterinherited
folder String
final
hashCode int
The hash code for this object.
no setterinherited
label String
Package name
no setterinherited
langPath Directory
Languages root directory
no setteroverride
languages List<String>
Languages allowed
no setteroverride
root Directory
Root Directory of your project
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
states → SharedStateServiceContract
no setterinherited
translationManager ↔ TranslationManager
getter/setter pair

Methods

init() Future<void>
injectCommands() List<CliCommandContract>
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