BeginUploadBody class final

Constructors

BeginUploadBody({required String collection, required String name, required String contentType, required int sizeBytes, Map<String, Object?>? metadata})
const
BeginUploadBody.fromJson(Map<String, Object?> json)
factory

Properties

collection → String
A declared storage.fileCollections entry.
final
contentType → String
Must match the collection’s allowedContentTypes.
final
hashCode → int
The hash code for this object.
no setterinherited
metadata → Map<String, Object?>?
Values for the collection’s declared metadata fields.
final
name → String
Display name for the file.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizeBytes → int
Exact upload size; verified at finalize (mismatch voids the file).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited