span property Null safety

FileSpan span
override

Implementation

@override
FileSpan get span {
  if (doctype == null) return root.span;
  return doctype!.span.expand(root.span);
}