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
createAsync() Future<void>

Available on StoreManagement, provided by the StoreManagementDeprecations extension

Create a new store with the specified name
delete() Future<void>
Delete the specified store
deleteAsync() Future<void>

Available on StoreManagement, provided by the StoreManagementDeprecations extension

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 prior to the expiry timestamp from the specified store
rename(String newStoreName) Future<FMTCStore>
Change the name of the specified store to the specified new store name
renameAsync(String newStoreName) Future<FMTCStore>

Available on StoreManagement, provided by the StoreManagementDeprecations extension

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
resetAsync() Future<void>

Available on StoreManagement, provided by the StoreManagementDeprecations extension

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