StoreFileOptions class final
Options used when the server stores a file directly.
Constructors
- StoreFileOptions({DateTime? expiration, bool preventOverwrite = false, FileMetadata metadata = const FileMetadata()})
-
Creates store-file options.
const
Properties
- expiration → DateTime?
-
Time after which the file is considered expired.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- metadata → FileMetadata
-
Metadata to attach to the file.
final
- preventOverwrite → bool
-
When true, the upload should fail if a file already exists at the
given path.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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