toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StatusCode.complete:
      return 'Complete';
    case StatusCode.internalError:
      return 'InternalError';
    case StatusCode.partialData:
      return 'PartialData';
  }
}