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