UploadResult class

Constructors

UploadResult({required KoolbaseObject object, required String downloadUrl, String? bucket})
const

Properties

bucket → String?
The bucket the object was uploaded to. Nullable only so existing constructors keep compiling; KoolbaseStorageClient.upload always sets it.
final
downloadUrl → String
A signed URL for reading the object now. It EXPIRES: never persist it. Persist path for a private bucket or publicUrl for a public one.
final
hashCode → int
The hash code for this object.
no setterinherited
object → KoolbaseObject
final
path → String
Where the object lives in its bucket. What to persist for a private bucket, since a signed downloadUrl expires.
no setter
publicUrl → String?
The object's stable public CDN URL, or null for a private bucket. Safe to persist, unlike downloadUrl.
no setter
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