NetworkCaptureService class

Constructors

NetworkCaptureService({int maxEntries = 100})

Properties

count → int
no setter
enabled → bool
no setter
entries → List<NetworkCaptureEntry>
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addIgnoredHost(String host) → void
clear() → void
disable() → void
enable() → void
exportAsJson() → String
getEntriesForUrl(String urlPrefix, {int limit = 50}) → List<Map<String, dynamic>>
getFailedEntries({int limit = 50}) → List<Map<String, dynamic>>
getRecentEntries({int limit = 20}) → List<Map<String, dynamic>>
getSummary() → Map<String, dynamic>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
record({required String method, required String url, int? statusCode, Map<String, dynamic>? requestHeaders, Map<String, dynamic>? responseHeaders, String? requestBody, String? responseBody, int durationMs = 0, String? error}) → void
removeIgnoredHost(String host) → void
toString() → String
A string representation of this object.
inherited

Operators

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