toValue method

String toValue()

Implementation

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