UploadReceipt class final

The receipt returned after a file upload is accepted.

Exposes contentType, createdAt, filename, and id, among other contract fields.

Constructors

UploadReceipt({required String contentType, required DateTime createdAt, String? filename, required String id, String? name, required int size, required Status status})
const
UploadReceipt.fromJson(Map<String, Object?> json)
factory

Properties

contentType → String
final
createdAt → DateTime
final
filename → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
name → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
final
status → Status
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