fromDynamic static method
Implementation
static ConnectedDevice fromDynamic(dynamic map) {
late ConnectedDevice result;
if (map == null) {
throw Exception('[ConnectedDevice.fromDynamic]: map is null');
} else {
result = ConnectedDevice(
device: TestDeviceInfo.fromDynamic(map['device']),
driverName: map['driverName'],
testControllerState: TestControllerState.fromDynamic(
map['testControllerState'],
),
);
}
return result;
}