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