ReceiptLogData.fromJson constructor

ReceiptLogData.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory ReceiptLogData.fromJson(Map<String, dynamic> data) {
  return ReceiptLogData(
      id: addHexPrefix(data['id']),
      val0: parseBigInt(data['val0']),
      val1: parseBigInt(data['val1']),
      ptr: parseBigInt(data['ptr']),
      len: parseBigInt(data['len']),
      digest: data['digest'],
      pc: parseBigInt(data['pc']),
      isField: parseBigInt(data['is']));
}