ReceiptCall.fromJson constructor
Implementation
factory ReceiptCall.fromJson(Map<String, dynamic> data) {
return ReceiptCall(
from: addHexPrefix(data['from']),
to: addHexPrefix(data['to']),
amount: parseBigInt(data['amount']),
assetId: addHexPrefix(data['assetId']),
gas: parseBigInt(data['gas']),
param1: parseBigInt(data['param1']),
param2: parseBigInt(data['param2']),
pc: parseBigInt(data['pc']),
isField: parseBigInt(data['is']));
}