parse method Null safety
- String? rawText
Implementation
NodeV2 parse(String? rawText) {
NodeV2 root = NodeV2.root();
if (rawText == null) return root;
_parseAndAddTo(root, ParseState.fromRawText(rawText));
return root;
}
NodeV2 parse(String? rawText) {
NodeV2 root = NodeV2.root();
if (rawText == null) return root;
_parseAndAddTo(root, ParseState.fromRawText(rawText));
return root;
}