preContext property

List<String> get preContext

An immutable list of source code lines before context_line (in order) – usually lineno - 5:lineno.

Implementation

List<String> get preContext => List.unmodifiable(_preContext ?? const []);