InstanceSelection.fromJson constructor
InstanceSelection.fromJson(
- Map json_
Implementation
InstanceSelection.fromJson(core.Map json_)
: this(
machineTypes: json_.containsKey('machineTypes')
? (json_['machineTypes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
rank: json_.containsKey('rank') ? json_['rank'] as core.int : null,
);