HeliumTransactionPoCReceiptsV1 constructor

HeliumTransactionPoCReceiptsV1({
  1. required HeliumTransactionType type,
  2. required String hash,
  3. required int height,
  4. required DateTime time,
  5. required String challenger,
  6. required String challengerOwner,
  7. required String challengerLocation,
  8. required double challengerLat,
  9. required double challengerLon,
  10. required List<HeliumPoCPathElement> path,
  11. required String secret,
  12. required String onionKeyHash,
  13. String? requestBlockHash,
  14. required int fee,
})

Creates a new instance.

Implementation

HeliumTransactionPoCReceiptsV1({
  required HeliumTransactionType type,
  required String hash,
  required int height,
  required DateTime time,
  required this.challenger,
  required this.challengerOwner,
  required this.challengerLocation,
  required this.challengerLat,
  required this.challengerLon,
  required this.path,
  required this.secret,
  required this.onionKeyHash,
  this.requestBlockHash,
  required this.fee,
}) : super(type: type, hash: hash, height: height, time: time);