ExistsParser class

Returns true if the collection has any elements, and false otherwise. This is the opposite of empty(), and as such is a shorthand for empty().not(). If the input collection is empty ({ }), the result is false. The function can also take an optional criteria to be applied to the collection prior to the determination of the exists. In this case, the function is shorthand for where(criteria).exists(). Note that a common term for this function is any.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ParserList
finalinherited

Methods

copyWith(ParserList value) ExistsParser
execute(List results, Map<String, dynamic> passed) List
The iterable, nested function that evaluates the entire FHIRPath expression one object at a time
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prettyPrint([int indent = 2]) String
Uses a rough approximation of reverse polish notation to render the parsed value of a FHIRPath in a more human readable way than verbosePrint, while still demonstrating how the expression was parsed and nested according to this package
override
toString() String
A string representation of this object.
inherited
verbosePrint(int indent) String
To print the entire parsed FHIRPath expression, this includes ALL of the Parsers that are used in this package by the names used in this package. These are not always synonymous with the FHIRPath specification (although they usually are), and include some parser classes that were created for ease of evaluation but are not included at all as objects in the official spec. I'm generally going to recommend that you use prettyPrint instead
override

Operators

operator ==(Object other) bool
The equality operator.
inherited