ActivityStoreConfig class Activity Store
Storage and backend settings of an ActivityStore.
The local store always works. The backend settings are used by the network features: activity sync and sharing, which run only when syncEnabled is true, and profile sync, which always runs once a session is set.
- Annotations
Constructors
- ActivityStoreConfig({required String localStorePath, required String logsDir, String supabaseUrl = '', String supabaseAnonKey = '', String storageBucketName = '', bool syncEnabled = false})
-
Creates an ActivityStoreConfig.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- localStorePath → String
-
Absolute path of the local SQLite store.
final
- logsDir → String
-
Absolute path of the recorded logs folder.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
The base of the share links; empty for the backend preview function.
final
- storageBucketName → String
-
The storage bucket of the activity files.
final
- supabaseAnonKey → String
-
The backend public API key.
final
- supabaseUrl → String
-
The backend project URL.
final
- syncEnabled → bool
-
Master switch of activity sync and sharing.
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited