LocalServerClientConfig class
Constructors
-
LocalServerClientConfig.fromJson(Map<
String, dynamic> json) -
解析配置json
默认的配置是
{
"option":
{ "key": "test", "open": 1, "priority": 0, "version": "20222022" }, { "key": "test2", "open": 0, "priority": 0, "version": "20222222" }
, "assets": { "test": { "compress": "/local-server/test.zip" }, "test2": { "compress": "/local-server/test2.zip" } }, "basics": { "common": { "compress": "/local-server/common.zip", "version": "20220501" } }, "local_server_open": 1 }
Properties
-
assets
↔ Map<
String, DownloadServiceTotalAssetItem> -
getter/setter pair
- basicIsDown ↔ bool
-
getter/setter pair
-
basics
↔ Map<
String, Map> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isHavePermission ↔ bool
-
getter/setter pair
- key ↔ String
-
getter/setter pair
-
mappingZipAssets
↔ Map<
String, List< DownloadServiceItem> > -
getter/setter pair
-
options
↔ List<
LocalServerClientConfigItem> -
getter/setter pair
- permissionJsonCache ↔ Map
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
changeAssetsFromZipUrl(
DownloadServiceItem item) → void - 更改Assets 的状态
-
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