UploadSession class
Represents the request to upload a new file or update the contents of an existing file.
- Annotations
-
- @JsonSerializable()
Constructors
- UploadSession.new({String? uploadUrl, String? expirationDateTime})
- Creates a new UploadSession instance.
-
UploadSession.fromJson(Map<
String, dynamic> json) -
Creates an UploadSession instance from JSON data.
factory
Properties
- expirationDateTime → String?
-
The date and time when the upload session will expire.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uploadUrl → String?
-
The URL endpoint for uploading bytes to the file.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this UploadSession instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited