GraphQLResult class
GraphQL result.
- Annotations
-
- @_jsonSerializable
Constructors
-
GraphQLResult.new({Map<
String, dynamic> ? data, Iterable<GraphQLError> ? errors, required Map<String, dynamic> orginal}) -
Create a new instance of GraphQLResult.
const
-
GraphQLResult.fromJson(Map<
String, dynamic> json) -
Create GraphQL result from json.
factory
Properties
-
data
→ Map<
String, dynamic> ? -
GraphQL query or mutation data.
final
-
errors
→ Iterable<
GraphQLError> ? -
GraphQL or Prisma errors.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
orginal
→ Map<
String, dynamic> -
Original json.
final
- 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