GraphqlRequest class

The GraphQL request to Firebase Data Connect.

It strives to match the GraphQL over HTTP spec. https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#post

Constructors

GraphqlRequest.new({GraphqlRequestExtensions? extensions, String? operationName, String? query, Map<String, Object?>? variables})
GraphqlRequest.fromJson(Map json_)

Properties

extensions GraphqlRequestExtensions?
Additional GraphQL request information.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
operationName String?
The name of the GraphQL operation name.
getter/setter pair
query String?
The GraphQL query document source.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variables Map<String, Object?>?
Values for GraphQL variables provided in this request.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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