LinguaLoader class

Constructors

LinguaLoader({Map<String, Map<String, dynamic>> mapLocales = CoreCodegenLoader.mapLocales})
const
LinguaLoader.withLocales({List<Map<String, Map<String, dynamic>>> mapLocales = const []})
factory

Properties

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

Methods

load(String path, Locale locale) Future<Map<String, dynamic>>
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

Static Methods

mergeMapLocales(List<Map<String, Map<String, dynamic>>> mapLocales) Map<String, Map<String, dynamic>>