TranslationLoader.asynchronous constructor
TranslationLoader.asynchronous(
- TranslationLoader loader
Creates a non-blocking TranslationLoader instance that that will load the translations asynchronously and apply them back to the Translator when complete.
This is a convenience factory constructor and is ultimately a synonym for constructing an AsyncTranslationLoader directly.
Implementation
factory TranslationLoader.asynchronous(
TranslationLoader loader,
) =>
AsyncTranslationLoader(loader);