fromJson static method

Constructs a new RevenueWithdrawalStateType from a String.

Implementation

static RevenueWithdrawalStateType fromJson(String value) {
  return RevenueWithdrawalStateType.values
      .firstWhere((e) => e.value == value);
}