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

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
urlMap Map<String, String>
A map of language codes to their corresponding translation file URLs.
final

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