fromJson static method

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

Implementation

static YieldEvmTransaction fromJson(Map<String, dynamic> json) => YieldEvmTransaction(
      to: DynamicJson.reqString(json, "to"),
      data: DynamicJson.reqString(json, "data"),
      value: DynamicJson.reqString(json, "value"),
      gasLimit: DynamicJson.optString(json, "gasLimit"),
      gasPrice: DynamicJson.optString(json, "gasPrice"),
      maxFeePerGas: DynamicJson.optString(json, "maxFeePerGas"),
      maxPriorityFeePerGas: DynamicJson.optString(json, "maxPriorityFeePerGas"),
      nonce: DynamicJson.optInt(json, "nonce"),
    );