NetLensStorage class abstract interface

Definition of storage

Implementers

Properties

callsStream → Stream<List<NetLensHttpCall>>
Stream which returns all HTTP calls on change.
final
hashCode → int
The hash code for this object.
no setterinherited
maxCallsCount → int
Max calls number which should be stored.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addCall(NetLensHttpCall call) → FutureOr<void>
Adds new call to calls list.
addError(NetLensHttpError error, int requestId) → FutureOr<void>
Adds error to a specific call.
addResponse(NetLensHttpResponse response, int requestId) → FutureOr<void>
Adds response to a specific call.
getCalls() → List<NetLensHttpCall>
Returns all HTTP calls.
getStats() → NetLensStats
Returns stats based on calls.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeCalls() → FutureOr<void>
Removes all calls.
selectCall(int requestId) → NetLensHttpCall?
Searches for call with specific requestId. It may return null.
toString() → String
A string representation of this object.
inherited

Operators

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