withOffset method Null safety

Record withOffset(
  1. int offset
)

Implementation

Record withOffset(int offset) => Record(startAddress + offset, data);