Variant.fromJson constructor
Variant.fromJson(
- Map json_
Implementation
Variant.fromJson(core.Map json_)
: this(
deviceSpec: json_.containsKey('deviceSpec')
? DeviceSpec.fromJson(
json_['deviceSpec'] as core.Map<core.String, core.dynamic>)
: null,
options: json_.containsKey('options')
? SystemApkOptions.fromJson(
json_['options'] as core.Map<core.String, core.dynamic>)
: null,
variantId: json_.containsKey('variantId')
? json_['variantId'] as core.int
: null,
);