toValue method
Implementation
String toValue() {
switch (this) {
case ReplayState.starting:
return 'STARTING';
case ReplayState.running:
return 'RUNNING';
case ReplayState.cancelling:
return 'CANCELLING';
case ReplayState.completed:
return 'COMPLETED';
case ReplayState.cancelled:
return 'CANCELLED';
case ReplayState.failed:
return 'FAILED';
}
}