TargetingInfo.fromJson constructor
TargetingInfo.fromJson(
- Map json_
Implementation
TargetingInfo.fromJson(core.Map json_)
: this(
assetSliceSet: json_.containsKey('assetSliceSet')
? (json_['assetSliceSet'] as core.List)
.map((value) => AssetSliceSet.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
packageName: json_.containsKey('packageName')
? json_['packageName'] as core.String
: null,
variant: json_.containsKey('variant')
? (json_['variant'] as core.List)
.map((value) => SplitApkVariant.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);