ExtractTableLookup constructor

ExtractTableLookup({
  1. required List<SolAddress> readable,
  2. required List<SolAddress> writable,
  3. required AddressTableLookup lookup,
})

Constructor to create an ExtractTableLookup instance.

Implementation

ExtractTableLookup({
  required List<SolAddress> readable,
  required List<SolAddress> writable,
  required this.lookup,
})   // Ensure readable and writable lists are unmodifiable.
: readable = List<SolAddress>.unmodifiable(readable),
      writable = List<SolAddress>.unmodifiable(writable);