TranslationLoader class abstract
Loads translation content from a single source (assets, HTTP, etc.).
Asset-based loaders swallow parse errors and return null so the registry
can fall back to the next format. HttpTranslationLoader throws
RemoteTranslationLoadException instead because remote failures are
explicit and should not be silently ignored.
Constructors
- TranslationLoader()
-
const
Properties
-
fileExtensions
→ List<
String> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
load(
String basePath) → Future< TranslationMap?> -
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