toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case IdentityType.user:
      return 'USER';
    case IdentityType.group:
      return 'GROUP';
  }
}