GraphQLQuery class

Implementers

Constructors

GraphQLQuery(String name, List fields, {Map<String, dynamic>? input})

Properties

fields List
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
params Map<String, dynamic>?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

and(GraphQLQuery gql) GraphQLQuery
build() String
external({AppHttpClientBase? client}) GraphQLQuery
extra(Map<String, String> value) GraphQLQuery
headers(Map<String, String> value) GraphQLQuery
input(Map<String, dynamic> params) GraphQLQuery
mutation<T>({Map<String, String>? headers, Map<String, dynamic>? extra, Duration? timeout, bool showLoadingIndicator = true}) Future<Response<T>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paramCase(String param) String
query<T>({Map<String, String>? headers, Map<String, dynamic>? extra, Duration? timeout, bool showLoadingIndicator = true}) Future<Response<T>>
timeout(Duration value) GraphQLQuery
toString() String
A string representation of this object.
inherited

Operators

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