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