UploadSession class abstract
an object containing information used to keep track of a file upload.
Properties:
- id - The unique identifier for the upload.
- type - The type of the upload.
- createAt - The time the upload was created in milliseconds.
- userId - The ID of the user performing the upload.
- channelId - The ID of the channel to upload to.
- filename - The name of the file to upload.
- fileSize - The size of the file to upload in bytes.
- fileOffset - The amount of data uploaded in bytes.
Constructors
- UploadSession([void updates(UploadSessionBuilder b)])
-
factory
Properties
- channelId → String?
-
The ID of the channel to upload to.
no setter
- createAt → int?
-
The time the upload was created in milliseconds.
no setter
- filename → String?
-
The name of the file to upload.
no setter
- fileOffset → int?
-
The amount of data uploaded in bytes.
no setter
- fileSize → int?
-
The size of the file to upload in bytes.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The unique identifier for the upload.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → UploadSessionTypeEnum?
-
The type of the upload.
no setter
- userId → String?
-
The ID of the user performing the upload.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(UploadSessionBuilder)) → UploadSession -
Rebuilds the instance.
inherited
-
toBuilder(
) → UploadSessionBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
UploadSession> -
no setter