span property Null safety

FileSpan span
override

Implementation

@override
FileSpan get span {
  if (colon == null || value == null) return key.span;
  return colon!.span.expand(colon!.span).expand(value!.span);
}