DeviceSelectionResult.fromJson constructor
Implementation
factory DeviceSelectionResult.fromJson(Map<String, dynamic> json) {
return DeviceSelectionResult(
filters: (json['filters'] as List?)
?.whereNotNull()
.map((e) => DeviceFilter.fromJson(e as Map<String, dynamic>))
.toList(),
matchedDevicesCount: json['matchedDevicesCount'] as int?,
maxDevices: json['maxDevices'] as int?,
);
}