InspectNetworkModule class
Methods
-
invoke(int? id, String method, Map<String, dynamic>? params)
→ void
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onContextChanged()
→ void
-
Called when the debugging context changes (e.g., when switching controllers)
Subclasses can override this to reinitialize their state
override
-
onDisabled()
→ void
-
inherited
-
onEnabled()
→ void
-
-
receiveFromFrontend(int? id, String method, Map<String, dynamic>? params)
→ void
-
-
reportHttpClientLoadingFailed({required String requestId, required double contextId, required Uri uri, required String errorText, bool canceled = false})
→ void
-
Public API for non-Dio networking to report a request failure to DevTools.
-
reportHttpClientRequestStart({required double contextId, required Uri uri, String method = 'GET', List<int> data = const <int>[]})
→ String
-
Public API for non-Dio networking to report a request start to DevTools.
Returns a generated requestId to be used for subsequent events.
-
sendEventToFrontend(InspectorEvent event)
→ void
-
inherited
-
sendToFrontend(int? id, JSONEncodable? result)
→ void
-
inherited
-
setEnabled(bool enabled)
→ void
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited