toValue method
Implementation
String toValue() {
switch (this) {
case UserType.privateUser:
return 'PrivateUser';
case UserType.sharedDevice:
return 'SharedDevice';
}
}
String toValue() {
switch (this) {
case UserType.privateUser:
return 'PrivateUser';
case UserType.sharedDevice:
return 'SharedDevice';
}
}