toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case InviteStatus.pending:
      return 'Pending';
    case InviteStatus.accepted:
      return 'Accepted';
    case InviteStatus.failed:
      return 'Failed';
  }
}