InspectNetworkModule class

Inheritance

Constructors

InspectNetworkModule(DevToolsService devtoolsService)

Properties

context → DebuggingContext?
Get the debugging context if available
no setterinherited
controller WebFController?
Legacy controller access for backward compatibility
no setterinherited
devtoolsService DevToolsService
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isEnabled bool
no setterinherited
name String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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', Map<String, String>? headers, 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

Operators

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