isText static method
Checks if the node is an instance of Text
Implementation
static bool isText(dynamic node) {
return node['nodeType'] == 'text';
}
Checks if the node is an instance of Text
static bool isText(dynamic node) {
return node['nodeType'] == 'text';
}