LinkSyntax constructor

LinkSyntax({
  1. Resolver? linkResolver,
  2. LinkMapper? linkMapper,
  3. String pattern = r'\[',
  4. int startCharacter = $lbracket,
})

Implementation

LinkSyntax({
  Resolver? linkResolver,
  this.linkMapper,
  String pattern = r'\[',
  int startCharacter = $lbracket,
})  : linkResolver = (linkResolver ?? ((String _, [String? __]) => null)),
      super(pattern, startCharacter: startCharacter);