AssetBundleL10nDataSource class

Constructors

AssetBundleL10nDataSource({@required String bundlePath, String manifest: 'AssetManifest.json'})
const

Properties

bundlePath String
The base asset bundle dir path declared by manifest. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
manifest String
From where the namespaced files will be loaded from. This file should contain a Map where the keys represent the asset's path. [...]
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

load(Locale locale) Future<Map<String, Map<String, Object>>>
Loads all '.json' localization files declared in manifest with bundlePath given a locale. They must have been previously declared in pubspec.yaml. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited