isParagraph static method

bool isParagraph(
  1. dynamic node
)

Checks if the node is an instance of Paragraph

Implementation

static bool isParagraph(dynamic node) {
  return node['nodeType'] == 'paragraph';
}