SnapshotCache class

A singleton that keeps track of cached snapshot files. The dispose function must be called before process exit to clean up snapshots in the cache.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
snapshotCache Folder
read / write
snapshots Map<String, Snapshot>
final

Methods

dispose() → void
getSnapshot(String toolPath) Snapshot
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Properties

instance SnapshotCache
read-only

Static Methods

createInstance(ResourceProvider resourceProvider) SnapshotCache