DownloadFileResponse class

Constructors

DownloadFileResponse({required String signedUrl, required SpatioFile file})
Returns a new DownloadFileResponse instance.

Properties

file ↔ SpatioFile
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signedUrl ↔ String
Pre-signed direct-download URL pointing at the backing storage (R2, Drive, etc.). Time-limited per provider. Clients follow the URL — the platform does not proxy bytes.
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(dynamic value) → DownloadFileResponse?
Returns a new DownloadFileResponse instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<DownloadFileResponse>
mapFromJson(dynamic json) → Map<String, DownloadFileResponse>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<DownloadFileResponse>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.