RootDirectory class
Access point to a root
Contains access to:
- Statistics
- Management
- Low-Level Access (advanced)
Does not provide direct access to any StoreDirectorys.
A root is identified by it's representation on the filesystem (directory). A root contains multiple sub-directories, and sub-StoreDirectorys.
Constructors
- RootDirectory.custom(Directory rootDirectory, {bool autoCreate = true})
- Create a RootDirectory set based on your own custom directory
Properties
- access → RootAccess
-
Get direct filesystem access paths
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- import → RootImport
-
Provides store import functionality for this root
no setter
- manage → RootManagement
-
Manage the root's representation on the filesystem
no setter
- migrator → RootMigrator
-
Manage migration for file structure across FMTC versions
no setter
- recovery → RootRecovery
-
Manage the download recovery of all sub-stores
no setter
- rootDirectory → Directory
-
The real directory beneath which 'flutter_map_tile_caching' places all data - usually located itself within the application's directories
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stats → RootStats
-
Get statistics about this root (and all sub-stores)
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Properties
-
normalCache
→ Future<
RootDirectory> -
Create a
RootDirectory
set based on the app's documents directoryno setter -
temporaryCache
→ Future<
RootDirectory> -
Create a
RootDirectory
set based on the app's temporary directoryno setter