toDeviceStatus method
Implementation
DeviceStatus toDeviceStatus() {
switch (this) {
case 'ACTIVE':
return DeviceStatus.active;
case 'SIGNED_OUT':
return DeviceStatus.signedOut;
}
throw Exception('$this is not known in enum DeviceStatus');
}