toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ExecutionStatus.open:
      return 'OPEN';
    case ExecutionStatus.closed:
      return 'CLOSED';
  }
}