XPathSequence.single constructor

const XPathSequence.single(
  1. XPathItem item
)

Creates a sequence with a single item.

Implementation

const factory single(XPathItem item) = _XPathSingleSequence;