AndrossyLocalizer class

Constructors

AndrossyLocalizer({List<Localization> localizations = const []})
Example
AndrossyLocalizer.fromJson(String json)
Example JSON
AndrossyLocalizer.fromLocalizedMap(Map<String, Map<Locale, String>> map)
Example
AndrossyLocalizer.fromMap(Map<String, Map<String, String>> map)
Example
AndrossyLocalizer.none()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
localizations Map<String, Map<String, String>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

localize(String language, String name) String
localizer.localize("bn", "Home", false);
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