MemoryTranslationLoader class

Implemented types

Constructors

MemoryTranslationLoader(Map<String, String> values)
Creates a TranslationLoader instance with the given values to utilize.

Properties

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

Methods

load(String language, Translator translator) Future<Map<String, String>>
The returned Future will immediately resolve with the values.
override
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