span method Null safety
Returns a span from start
to end
(exclusive).
If end
isn't passed, it defaults to the end of the file.
Implementation
FileSpan span(int start, [int? end]) {
end ??= length;
return _FileSpan(this, start, end);
}
Returns a span from start
to end
(exclusive).
If end
isn't passed, it defaults to the end of the file.
FileSpan span(int start, [int? end]) {
end ??= length;
return _FileSpan(this, start, end);
}