QueryParameter<T> class

Represents a parameter for a GraphQL query.

This class encapsulates the name and value of a query parameter, providing type safety and ease of use when building queries.

Constructors

QueryParameter(String name, T value)
Creates a new QueryParameter with the given name and value.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the parameter as it appears in the GraphQL query.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
The value of the parameter.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMapEntry() MapEntry<String, T>
Creates a map entry representation of this parameter.
toString() String
A string representation of this object.
inherited

Operators

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