AssetLoaderNetwork class
AssetLoaderNetwork loads translation assets from a network source using a user-defined URL map.
- Implemented types
Constructors
-
AssetLoaderNetwork.new(Map<
String, String> urlMap, {Dio? dio, Map<String, dynamic> ? headers}) - Creates an instance of AssetLoaderNetwork.
Properties
Methods
-
load(
[JsonMapperBase? base]) → Future< Map< String, dynamic> > -
load method used to load the json file from the path
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