canParse method

  1. @override
bool canParse(
  1. BlockParser parser
)
override

Implementation

@override
bool canParse(BlockParser parser) {
  return alertPattern.hasMatch(parser.current.content);
}