StoreManagement class

Manages an FMTCStore's representation on the filesystem, such as creation and deletion

If the store is not in the expected state (of existence) when invoking an operation, then an error will be thrown (StoreNotExists). It is recommended to check ready when necessary.

Available Extensions

Properties

hashCode int
The hash code for this object.
no setterinherited
ready Future<bool>
Check whether the specified store currently exists
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create() Future<void>
Create a new store with the specified name
delete() Future<void>
Delete the specified store
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeTilesOlderThan({required DateTime expiry}) Future<void>
Remove tiles that were last modified after expiry from the specified store
rename(String newStoreName) Future<FMTCStore>
Change the name of the specified store to the specified new store name
reset() Future<void>
Remove all the tiles from within the specified store
toString() String
A string representation of this object.
inherited

Operators

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