CacheWrite class

Description of one manual write (launch.favorite = true), enough to undo it: the previous value is missing when the path did not exist.

Constructors

CacheWrite(String operation, List<Object> path, Object? previous, Set<String> touched)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
operation → String
final
path → List<Object>
final
previous → Object?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
touched → Set<String>
Dependency keys the write touched.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
undo(Cache cache) → Set<String>
Restores previous in cache. Returns the keys touched by the undo.

Operators

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