FieldKey class

A utility class for stringifying a field plus variables.

If the given FieldPolicy includes FieldPolicy.keyArgs, only those arguments will be used to construct the key. If no FieldPolicy.keyArgs are defined, all arguments will be included.

Constructors

FieldKey(FieldNode fieldNode, Map<String, dynamic> variables, FieldPolicy? fieldPolicy)
FieldKey.from(String fieldName, Map<String, dynamic> args)

Properties

args SplayTreeMap<String, dynamic>
final
fieldName String
final
hashCode int
The hash code for this object.
no setteroverride
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.
override

Operators

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

Static Methods

parse(String keyString) FieldKey