IntrospectionClient class

Constructors

IntrospectionClient({IntrospectionTransport? transport})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetch(Uri endpoint, {Map<String, String>? headers}) → Future<Map<String, dynamic>>
Fetches and validates an introspection result for endpoint.
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

Constants

introspectionQuery → const String
The standard introspection document. Unlike the legacy GraphQLIntrospectionService.introspectionQuery, this asks for interfaces, possibleTypes and input field defaults so the SDL printer and the diff engine see the full type graph.