ReceiptLog.fromJson constructor

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

Implementation

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