AliceStorage class abstract interface

Definition of storage

Implementers

Properties

callsStream Stream<List<AliceHttpCall>>
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(AliceHttpCall call) FutureOr<void>
Adds new call to calls list.
addError(AliceHttpError error, int requestId) FutureOr<void>
Adds error to a specific call.
addResponse(AliceHttpResponse response, int requestId) FutureOr<void>
Adds response to a specific call.
getCalls() List<AliceHttpCall>
Returns all HTTP calls.
getStats() AliceStats
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) AliceHttpCall?
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