CsvLocalizations class
CsvLocalizations is used to load translations from a CSV file.
Properties
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