Filter constructor

const Filter({
  1. BlockTagOrNumber? fromBlock,
  2. BlockTagOrNumber? toBlock,
  3. String? address,
  4. String? blockHash,
  5. List<List<String>?> topics = const [],
})

Creates a new instance of the Filter class.

Implementation

const Filter({
  this.fromBlock,
  this.toBlock,
  this.address,
  this.blockHash,
  this.topics = const [],
});