WalletTransactionModel.fromJson constructor

WalletTransactionModel.fromJson(
  1. Map<String, dynamic> result
)

Implementation

factory WalletTransactionModel.fromJson(Map<String, dynamic> result) =>
    WalletTransactionModel(
        blockNumber: result["blockNumber"],
        timeStamp: result["timeStamp"],
        hash: result["hash"],
        nonce: result["nonce"],
        blockHash: result["blockHash"],
        transactionIndex: result["transactionIndex"],
        from: result["from"],
        to: result["to"],
        value: result["value"],
        gas: result["gas"],
        gasPrice: result["gasPrice"],
        isError: result["isError"],
        txreceiptStatus: result["txreceipt_status"]);