GetDevicePoolCompatibilityResult.fromJson constructor
GetDevicePoolCompatibilityResult.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetDevicePoolCompatibilityResult.fromJson(Map<String, dynamic> json) {
return GetDevicePoolCompatibilityResult(
compatibleDevices: (json['compatibleDevices'] as List?)
?.whereNotNull()
.map((e) =>
DevicePoolCompatibilityResult.fromJson(e as Map<String, dynamic>))
.toList(),
incompatibleDevices: (json['incompatibleDevices'] as List?)
?.whereNotNull()
.map((e) =>
DevicePoolCompatibilityResult.fromJson(e as Map<String, dynamic>))
.toList(),
);
}