fromString static method

PaymentLogStatus? fromString(
  1. String? value
)

Get the PaymentLogStatus from a String.

Implementation

static PaymentLogStatus? fromString(String? value) {
  switch (value) {
    case 'pending':
      return pending;
    case 'complete':
      return complete;
    case 'failed':
      return failed;
    case 'creditable':
      return creditable;
    default:
      return null;
  }
}