LogInterceptor class

The class LogInterceptor is responsible for creating a log for onConnected, onDisconnected and onTryAgain methods

Inheritance

Constructors

LogInterceptor()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onConnected(HasuraConnect connect) Future<void>
Method onConnected signature
override
onDisconnected() Future<void>
Method onDisconnected signature
override
onError(HasuraError? request, HasuraConnect connect) Future
Method onError signature
override
onRequest(Request? request, HasuraConnect connect) Future
Method onRequest signature
override
onResponse(Response? data, HasuraConnect connect) Future
Method onResponse signature
override
onSubscription(Request request, Snapshot snapshot) Future<void>
Method onSubscription signature
override
onTryAgain(HasuraConnect connect) Future<void>
Method onTryAgain signature
override
toString() String
A string representation of this object.
inherited

Operators

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