Index: pkg/source_span/lib/src/span_exception.dart |
diff --git a/pkg/source_span/lib/src/span_exception.dart b/pkg/source_span/lib/src/span_exception.dart |
index af642413bdda0c2a1a6c20c459b40bd4e4334a5f..36f2488329d1331589ab9dc3f1635e7ba81a7cd4 100644 |
--- a/pkg/source_span/lib/src/span_exception.dart |
+++ b/pkg/source_span/lib/src/span_exception.dart |
@@ -36,7 +36,7 @@ class SourceSpanFormatException extends SourceSpanException |
implements FormatException { |
final source; |
- int get position => span == null ? null : span.start.offset; |
+ int get offset => span == null ? null : span.start.offset; |
SourceSpanFormatException(String message, SourceSpan span, [this.source]) |
: super(message, span); |