AddressTableLookup constructor
AddressTableLookup({
- required SolAddress accountKey,
- required List<
int> writableIndexes, - required List<
int> readonlyIndexes,
Constructor to create an AddressTableLookup instance.
Implementation
AddressTableLookup({
required this.accountKey,
required List<int> writableIndexes,
required List<int> readonlyIndexes,
}) // Ensure writableIndexes and readonlyIndexes are unmodifiable.
: writableIndexes = List<int>.unmodifiable(writableIndexes),
readonlyIndexes = List<int>.unmodifiable(readonlyIndexes);