toValue method

String toValue()

Implementation

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