DVGraphQLQueryCost class
The depth and cost of one operation, as the budget sees them.
Constructors
- DVGraphQLQueryCost({required int depth, required int cost})
-
const
Properties
- cost → int
-
Each field costs what it declares (at least 1) plus its selections, and
a list field multiplies that by its page size.
final
- depth → int
-
Nesting levels, counting the root fields as one and a scalar as a level.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited