lookup method

DataType? lookup(
  1. int tag
)

Returns the payload at tag, or null for invalid or unallocated tags.

Implementation

DataType? lookup(int tag) =>
    tag >= 0 && tag < capacity ? _entries[tag] : null;