toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case FulfillmentState.fulfilled:
      return 'Fulfilled';
    case FulfillmentState.failed:
      return 'Failed';
    case FulfillmentState.readyForFulfillment:
      return 'ReadyForFulfillment';
  }
}