toInviteStatus method
Implementation
InviteStatus toInviteStatus() {
switch (this) {
case 'Pending':
return InviteStatus.pending;
case 'Accepted':
return InviteStatus.accepted;
case 'Failed':
return InviteStatus.failed;
}
throw Exception('$this is not known in enum InviteStatus');
}