AndroidMatrix.fromJson constructor
AndroidMatrix.fromJson(
- Map _json
Implementation
AndroidMatrix.fromJson(core.Map _json)
: this(
androidModelIds: _json.containsKey('androidModelIds')
? (_json['androidModelIds'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
androidVersionIds: _json.containsKey('androidVersionIds')
? (_json['androidVersionIds'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
locales: _json.containsKey('locales')
? (_json['locales'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
orientations: _json.containsKey('orientations')
? (_json['orientations'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);