transformToDocument method Null safety

Document? transformToDocument (
  1. Node source
)

Implementation

Document? transformToDocument(Node source) native;