StorageConfig class
Storage disks for Storage().
Each disk is a map of options with a driver key, so the config can be
sent to every isolate. Drivers: local, s3 and memory.
StorageConfig(
defaultDisk: 'local',
disks: {
'local': {'driver': 'local', 'root': 'storage', 'url': 'http://localhost:3000/files'},
's3': {'driver': 's3', 'bucket': 'my-bucket', 'region': 'us-east-1',
'key': '...', 'secret': '...'},
'memory': {'driver': 'memory'},
},
);
Constructors
Properties
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