FileUploadNamingPolicy class abstract
A policy that defines how to name files on upload. Default implementation is KeepOriginalNameUploadPolicy.
See also:
Constructors
- FileUploadNamingPolicy.keepName()
-
Creates a KeepOriginalNameUploadPolicy
factory
- FileUploadNamingPolicy.keepPath()
-
Creates a KeepPathUploadPolicy
factory
- FileUploadNamingPolicy.uuid([V4Options? options])
-
Creates a UuidFileUploadNamingPolicy
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getUploadFileName(
String fullPath) → String - Returns a name for the file that will be uploaded to Firebase Storage.
-
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