span property Null safety

FileSpan span
override

Implementation

@override
FileSpan get span {
  return pairs
      .fold<FileSpan?>(lCurly.span, (out, p) => out?.expand(p.span))!
      .expand(rCurly.span);
}