Response class

Execution response

Annotations
  • @immutable

Constructors

Response({List<GraphQLError> errors, Map<String, dynamic> data, Context context: const Context()})
const

Properties

context Context
A Context to be returned along with a Response
final
data Map<String, dynamic>
Data returned executing the Request [...]
final
errors List<GraphQLError>
Error returned executing the Request
final
hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited
updateContextEntry<T extends ContextEntry>(ContextUpdater<T> update) Response
Clone this response updating an entry to context
withContextEntry<T extends ContextEntry>(T entry) Response
Clone this response adding an entry to context

Operators

operator ==(Object o) bool
The equality operator. [...]
override