removeInterceptor method
Removes an interceptor from the adapter.
Parameters:
interceptor: The interceptor to remove
If the interceptor is not found, this method does nothing.
Example:
final authInterceptor = AuthInterceptor();
adapter.addInterceptor(authInterceptor);
// Later, remove it
adapter.removeInterceptor(authInterceptor);
Implementation
@override
void removeInterceptor(AdapterInterceptor interceptor) {
_interceptors.remove(interceptor);
}