get method
Returns the sequence associated with key, or null if not found.
Implementation
XPathSequence? get(XPathAtomic key) {
final direct = entries[key];
if (direct != null) return direct;
if (entries.containsKey(key)) return entries[key];
for (final entry in entries.entries) {
if (sameKey(entry.key, key)) return entry.value;
}
return null;
}