ITransaction.fromJson constructor

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

Implementation

factory ITransaction.fromJson(Map<String, dynamic> json) {
  return ITransaction(
    chainId: json['chainId'],
    transactionType: TransactionType.getByValue(json['transactionType']),
    transactionStatus:TransactionStatus.getByValue(json['transactionStatus']),
    transactionHash: json['transactionHash'],
    updateTime: json['updateTime'],
    createTime: json['createTime'],
  );
}