CacheWrite class
class to handle writes to cache/db with business logic
Constructors
- CacheWrite(CacheManager cacheManager)
Properties
- cacheManager → CacheManager
- 
  
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  saveNetworkResponse({required bool writeToCache, required Stream< Nip01Event> inputStream}) → void
- saves network responses in db and then write to response stream if not already in db (useful to avoid duplicates)
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited