LayrzConnector class

Constructors

LayrzConnector.new({required Uri uri, Map<String, String> headers = const {}, Duration? timeout})
LayrzConnector is a simple connector to make HTTP requests to a given uri with optional headers.

Properties

hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout Duration?
final
uri Uri
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
perform({required String query, required Map<String, dynamic> variables}) Future<Response>
toString() String
A string representation of this object.
inherited

Operators

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