LinkSyntax constructor

LinkSyntax({
  1. Resolver? linkResolver,
  2. String pattern = r'\[',
})

Implementation

LinkSyntax({Resolver? linkResolver, String pattern = r'\['})
    : linkResolver = (linkResolver ?? (_, [__]) => null),
      super(pattern, end: r'\]');