Make impl static field private
diff --git a/pkgs/markdown/lib/src/inline_parser.dart b/pkgs/markdown/lib/src/inline_parser.dart index 8c42552..9b884ef 100644 --- a/pkgs/markdown/lib/src/inline_parser.dart +++ b/pkgs/markdown/lib/src/inline_parser.dart
@@ -308,7 +308,7 @@ /// This handles both reference-style and inline-style links as well as /// optional titles for inline links. To make that a bit more palatable, this /// breaks it into pieces. - static String get linkPattern { + static String get _linkPattern { var refLink = r'\[([^\]]*)\]'; // `[id]` reflink id. var title = r'(?:\s*"([^"]+?)"\s*|)'; // Optional title in quotes. var inlineLink = '\\((\\S*?)$title\\)'; // `(url "title")` link. @@ -323,7 +323,7 @@ } LinkSyntax({this.linkResolver, String pattern: r'\['}) - : super(pattern, end: linkPattern); + : super(pattern, end: _linkPattern); Node createNode(InlineParser parser, Match match, TagState state) { if (match[1] == null) {