ExternallyHostedApk.fromJson constructor
ExternallyHostedApk.fromJson(
- Map json_
Implementation
ExternallyHostedApk.fromJson(core.Map json_)
: this(
applicationLabel: json_['applicationLabel'] as core.String?,
certificateBase64s: (json_['certificateBase64s'] as core.List?)
?.map((value) => value as core.String)
.toList(),
externallyHostedUrl: json_['externallyHostedUrl'] as core.String?,
fileSha1Base64: json_['fileSha1Base64'] as core.String?,
fileSha256Base64: json_['fileSha256Base64'] as core.String?,
fileSize: json_['fileSize'] as core.String?,
iconBase64: json_['iconBase64'] as core.String?,
maximumSdk: json_['maximumSdk'] as core.int?,
minimumSdk: json_['minimumSdk'] as core.int?,
nativeCodes: (json_['nativeCodes'] as core.List?)
?.map((value) => value as core.String)
.toList(),
packageName: json_['packageName'] as core.String?,
usesFeatures: (json_['usesFeatures'] as core.List?)
?.map((value) => value as core.String)
.toList(),
usesPermissions: (json_['usesPermissions'] as core.List?)
?.map((value) => UsesPermission.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
versionCode: json_['versionCode'] as core.int?,
versionName: json_['versionName'] as core.String?,
);