WorkDbConfig class
Configuration options for creating a WorkDB instance.
Constructors
- WorkDbConfig({required PlatformType platform, String dataPath = './data', IWebStorage? webStorage, int? maxRecordsPerCollection})
-
Creates a new configuration.
const
Properties
- dataPath → String
-
The base path for file storage (used by PlatformType.io).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxRecordsPerCollection → int?
-
Optional maximum number of records per collection.
final
- platform → PlatformType
-
The target platform type.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- webStorage → IWebStorage?
-
Optional custom web storage (used by PlatformType.web).
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