AMMCreate.fromJson constructor

AMMCreate.fromJson(
  1. Map<String, dynamic> json
)

Implementation

AMMCreate.fromJson(Map<String, dynamic> json)
    : amount = CurrencyAmount.fromJson(json["amount"]),
      amount2 = CurrencyAmount.fromJson(json["amount2"]),
      tradingFee = json["trading_fee"],
      super.json(json);