InterceptorsMixin class

A mixin that can be used with your api class to add interceptors in conjunction with InterceptorsHttpClient


@HttpApi('...')
class MyApi with InterceptorsMixin {
  factory MyApi([InterceptorsHttpClient client]) = _$MyApi();
}

Implementers

Constructors

InterceptorsMixin()

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

addInterceptor(Interceptor interceptor) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeInterceptor(Interceptor interceptor) → void
toString() String
A string representation of this object.
inherited

Operators

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