MyInterceptor class

Constructors

MyInterceptor({bool useInProd = false, bool isActive = true, dynamic isError(GrpcError)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
isActive bool
final
isError → (dynamic Function(GrpcError)?)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useInProd bool
final

Methods

interceptStreaming<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, CallOptions options, ClientStreamingInvoker<Q, R> invoker) → ResponseStream<R>
interceptUnary<Q, R>(ClientMethod<Q, R> method, Q request, CallOptions options, ClientUnaryInvoker<Q, R> invoker) → ResponseFuture<R>
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