AssetSliceSet.fromJson constructor

AssetSliceSet.fromJson(
  1. Map json_
)

Implementation

AssetSliceSet.fromJson(core.Map json_)
    : this(
        apkDescription: json_.containsKey('apkDescription')
            ? (json_['apkDescription'] as core.List)
                .map((value) => ApkDescription.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        assetModuleMetadata: json_.containsKey('assetModuleMetadata')
            ? AssetModuleMetadata.fromJson(json_['assetModuleMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
      );