SolidConfig class
Configuration for Solid backend synchronization behavior.
This config is shared between main and worker isolates and is transferred as JSON during worker initialization.
Constructors
- SolidConfig({RemoteStorageLayout layout = const FilePerResource()})
-
const
-
SolidConfig.fromJson(Map<
String, dynamic> json) -
Decode config from JSON, defaulting to
FilePerResourceif missing.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- layout → RemoteStorageLayout
-
Storage layout determining how resources are organized on the Solid Pod.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{RemoteStorageLayout? layout}) → SolidConfig -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Encode config to JSON.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited