fromJson$Enum$WalletTopupStatusEnum function

Enum$WalletTopupStatusEnum fromJson$Enum$WalletTopupStatusEnum(
  1. String value
)

Implementation

Enum$WalletTopupStatusEnum fromJson$Enum$WalletTopupStatusEnum(String value) {
  switch (value) {
    case r'OPEN':
      return Enum$WalletTopupStatusEnum.OPEN;
    case r'CONFIRMED':
      return Enum$WalletTopupStatusEnum.CONFIRMED;
    case r'DELIVERED':
      return Enum$WalletTopupStatusEnum.DELIVERED;
    default:
      return Enum$WalletTopupStatusEnum.$unknown;
  }
}