toValue method
Implementation
String toValue() {
switch (this) {
case MemberStatus.creating:
return 'CREATING';
case MemberStatus.available:
return 'AVAILABLE';
case MemberStatus.createFailed:
return 'CREATE_FAILED';
case MemberStatus.updating:
return 'UPDATING';
case MemberStatus.deleting:
return 'DELETING';
case MemberStatus.deleted:
return 'DELETED';
}
}