toValue method
Implementation
String toValue() {
switch (this) {
case ShareStatus.shared:
return 'Shared';
case ShareStatus.pendingAcceptance:
return 'PendingAcceptance';
case ShareStatus.rejected:
return 'Rejected';
case ShareStatus.rejecting:
return 'Rejecting';
case ShareStatus.rejectFailed:
return 'RejectFailed';
case ShareStatus.sharing:
return 'Sharing';
case ShareStatus.shareFailed:
return 'ShareFailed';
case ShareStatus.deleted:
return 'Deleted';
case ShareStatus.deleting:
return 'Deleting';
}
}