QueryMethod class

Wraps a method annotated with Query to enable easy access to code generation relevant data.

Constructors

QueryMethod(MethodElement methodElement, String name, Query query, DartType rawReturnType, DartType flattenedReturnType, List<ParameterElement> parameters, Queryable? queryable, Set<TypeConverter> typeConverters)

Properties

flattenedReturnType → DartType
Flattened return type.
final
hashCode int
The hash code for this object.
no setteroverride
methodElement → MethodElement
final
name String
final
parameters List<ParameterElement>
final
query Query
Query where the parameter mapping is stored.
final
queryable Queryable?
final
rawReturnType → DartType
final
returnsList bool
no setter
returnsStream bool
no setter
returnsVoid bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeConverters Set<TypeConverter>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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