UploadMetadata class
Fields to be used while uploading the attachment.
Constructors
-
UploadMetadata.new({Map<
String, String> ? headersToInclude, String? url, String? urlExpiry}) -
UploadMetadata.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headersToInclude
→ Map<
String, String> ? -
The headers to be provided while uploading the file to the URL.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String?
-
The pre-signed URL using which file would be downloaded from Amazon S3 by
the API caller.
final
- urlExpiry → String?
-
The expiration time of the URL in ISO timestamp. It's specified in ISO 8601
format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
final
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