onMatch method

  1. @override
bool onMatch(
  1. InlineParser parser,
  2. Match match
)
override

Create a void
element.

Implementation

@override
bool onMatch(InlineParser parser, Match match) {
  parser.addNode(Element.empty('br'));
  return true;
}