toValue method
Implementation
String toValue() {
switch (this) {
case ResourceShareStatus.pending:
return 'PENDING';
case ResourceShareStatus.active:
return 'ACTIVE';
case ResourceShareStatus.failed:
return 'FAILED';
case ResourceShareStatus.deleting:
return 'DELETING';
case ResourceShareStatus.deleted:
return 'DELETED';
}
}