AndroidDeviceCatalog.fromJson constructor
AndroidDeviceCatalog.fromJson(
- Map _json
Implementation
AndroidDeviceCatalog.fromJson(core.Map _json)
: this(
models: _json.containsKey('models')
? (_json['models'] as core.List)
.map((value) => AndroidModel.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
runtimeConfiguration: _json.containsKey('runtimeConfiguration')
? AndroidRuntimeConfiguration.fromJson(
_json['runtimeConfiguration']
as core.Map<core.String, core.dynamic>)
: null,
versions: _json.containsKey('versions')
? (_json['versions'] as core.List)
.map((value) => AndroidVersion.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);