fromWireValue static method

CheckoutOrderStatus? fromWireValue(
  1. String value
)

Returns the status represented by value, or null when unsupported.

Implementation

static CheckoutOrderStatus? fromWireValue(String value) {
  for (final status in values) {
    if (status.wireValue == value) return status;
  }
  return null;
}