Location constructor

const Location(
  1. Segment start,
  2. Segment end, [
  3. String? source
])

Implementation

const Location(this.start, this.end, [this.source]);