toValue method
Implementation
String toValue() {
switch (this) {
case ChangeSetStatus.createPending:
return 'CREATE_PENDING';
case ChangeSetStatus.createInProgress:
return 'CREATE_IN_PROGRESS';
case ChangeSetStatus.createComplete:
return 'CREATE_COMPLETE';
case ChangeSetStatus.deletePending:
return 'DELETE_PENDING';
case ChangeSetStatus.deleteInProgress:
return 'DELETE_IN_PROGRESS';
case ChangeSetStatus.deleteComplete:
return 'DELETE_COMPLETE';
case ChangeSetStatus.deleteFailed:
return 'DELETE_FAILED';
case ChangeSetStatus.failed:
return 'FAILED';
}
}