toValue method
Implementation
String toValue() {
switch (this) {
case QueryExecutionState.queued:
return 'QUEUED';
case QueryExecutionState.running:
return 'RUNNING';
case QueryExecutionState.succeeded:
return 'SUCCEEDED';
case QueryExecutionState.failed:
return 'FAILED';
case QueryExecutionState.cancelled:
return 'CANCELLED';
}
}