File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -179,7 +179,15 @@ class EngineHttpTracking {
179179 initWithModel (model, preserveExisting: preserveExisting);
180180 }
181181
182- /// Gets statistics about HTTP tracking
182+ /// Gets statistics about HTTP tracking.
183+ ///
184+ /// Returns a map containing information about the current state of HTTP tracking:
185+ /// - `is_enabled` : Whether HTTP tracking is currently active
186+ /// - `has_model` : Whether a tracking model has been initialized
187+ /// - `model` : String representation of the current model (if any)
188+ /// - `current_override` : Type of the current HttpOverrides instance
189+ ///
190+ /// This method is useful for debugging and monitoring the HTTP tracking state.
183191 static Map <String , dynamic > getStats () => {
184192 'is_enabled' : _isEnabled,
185193 'has_model' : _model != null ,
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ class EngineHttpTrackingModel {
2626
2727/// Default implementation of EngineHttpTrackingModel with HTTP tracking disabled.
2828class EngineHttpTrackingModelDefault implements EngineHttpTrackingModel {
29+ /// Creates a default HTTP tracking model with tracking disabled.
2930 const EngineHttpTrackingModelDefault ();
3031
3132 @override
You can’t perform that action at this time.
0 commit comments