APILayerServer.fromJson constructor
APILayerServer.fromJson(
- Map json_
Implementation
APILayerServer.fromJson(core.Map json_)
: this(
name: json_.containsKey('name') ? json_['name'] as core.String : null,
osVersion: json_.containsKey('osVersion')
? json_['osVersion'] as core.String
: null,
resources: json_.containsKey('resources')
? (json_['resources'] as core.List)
.map((value) => CloudResource.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);