CsvLocalizations class

CsvLocalizations is used to load translations from a CSV file.

Properties

eol String
configure eol before load
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isSupported(Locale locale) bool
Return true if the locale is supported.
load(Locale locale, AssetBundle bundle, String path) Future<CsvLocalizations>
Load the CSV file and add translations per language.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
string(String key) String
Get the translation for the given key.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance CsvLocalizations
CsvLocalizations instance.
final