toDevicePoolType method
Implementation
DevicePoolType toDevicePoolType() {
switch (this) {
case 'CURATED':
return DevicePoolType.curated;
case 'PRIVATE':
return DevicePoolType.private;
}
throw Exception('$this is not known in enum DevicePoolType');
}