path<X> method
Uses the type from the JsonPath
Implementation
@override
X? path<X>(JsonPath<X> path, [Attribute<X>? attr]) {
if (attr == null) {
return _get(path) as X?;
} else {
_set(path, attr.value);
_changeStream.add(attr);
return attr.value;
}
}