toValue method
Implementation
String toValue() {
switch (this) {
case StopStatus.pending:
return 'Pending';
case StopStatus.succeeded:
return 'Succeeded';
}
}
String toValue() {
switch (this) {
case StopStatus.pending:
return 'Pending';
case StopStatus.succeeded:
return 'Succeeded';
}
}