isHyperlink static method

bool isHyperlink(
  1. dynamic node
)

Checks if the node is an instance of Hyperlink

Implementation

static bool isHyperlink(dynamic node) {
  return node['nodeType'] == 'hyperlink';
}