toValue method
Implementation
String toValue() {
switch (this) {
case DeviceStatus.active:
return 'ACTIVE';
case DeviceStatus.signedOut:
return 'SIGNED_OUT';
}
}
String toValue() {
switch (this) {
case DeviceStatus.active:
return 'ACTIVE';
case DeviceStatus.signedOut:
return 'SIGNED_OUT';
}
}