ReceiptPanic.fromJson constructor

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

Implementation

factory ReceiptPanic.fromJson(Map<String, dynamic> data) {
  return ReceiptPanic(
      id: addHexPrefix(data['id']),
      reason: parseBigInt(data['reason']),
      pc: parseBigInt(data['pc']),
      isField: parseBigInt(data['is']),
      contractId: data['contractId']);
}