documentFragment method Null safety

  1. @override
Parser documentFragment()
override

Implementation

@override
Parser documentFragment() => super
    .documentFragment()
    .map((nodes) => createDocumentFragment(nodes.cast<TNode>()));