checkNotNull method

void checkNotNull (
  1. XmlNode node
)

Ensure that node is not null.

Implementation

static void checkNotNull(XmlNode node) {
  if (node == null) {
    throw XmlNodeTypeException('Node must not be null.');
  }
}