InspectorManager class

It class helps to manage the network inspector You just call the InspectorManager.instance to access the DioCustomInterceptors

Annotations

Properties

hashCode int
The hash code for this object.
no setterinherited
interceptor → DioCustomInterceptors
DioCustomInterceptors is a class that allows us to intercept the request, response and error and we can use it to add to our cubit that way we can see the response and error in the detail screen. onResponseChanged and onErrorChanged will be called whenever there is a response or error and we can add it to our cubit onRequestChanged will be called whenever there is a request and we can add it to our cubit
final
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance InspectorManager
Singleton instance of the InspectorManager class.
final
Creates a new instance of the NavigatorObserver class.
final

Static Methods

open() → void
Opens the NetworkDetailView screen. Used to navigate to the network detail screen in response to tapping on a network in the network list.