Installation.fromJson constructor
Installation.fromJson(
- Map _json
Implementation
Installation.fromJson(core.Map _json)
: this(
location: _json.containsKey('location')
? (_json['location'] as core.List)
.map((value) => Location.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
name: _json.containsKey('name') ? _json['name'] as core.String : null,
);