NetworkLogStorage class
Simple in-memory storage for network logs.
Your package's http/dio layers write logs here, and the UI reads from it. This keeps the feature self-contained and independent of external state management solutions.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addLog(
NetworkLogModel log) → void -
clear(
) → void -
getLogs(
) → List< NetworkLogModel> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → NetworkLogStorage
-
final