toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case MemberType.user:
      return 'User';
    case MemberType.bot:
      return 'Bot';
    case MemberType.webhook:
      return 'Webhook';
  }
}