toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StopType.complete:
      return 'Complete';
    case StopType.cancel:
      return 'Cancel';
  }
}