toValue method

String toValue()

Implementation

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