ByteRange constructor

const ByteRange(
  1. int? start,
  2. int? end
)

Creates a byte range from start and end; see the class doc for how a null in either position encodes an open-ended or suffix range. Audited: 2026-06-12 11:26 EDT

Implementation

const ByteRange(this.start, this.end);