AsyncTranslationLoader class

Implemented types
Annotations

Constructors

AsyncTranslationLoader(TranslationLoader loader)
Creates a non-blocking TranslationLoader instance that that will load the translations asynchronously and apply them back to the Translator when complete.

Properties

hashCode int
The hash code for this object.
no setterinherited
loader TranslationLoader
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

load(String language, Translator translator) Future<Map<String, String>>
This will call the loader and then immediately resolve the Future with an empty map. Once the associated loader's Future resolves, this will then apply the values to the translator.
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