ActionFileUploadResumeResponse2 class
Constructors
- ActionFileUploadResumeResponse2({String uploadId = '', bool resumable = false, int nextSequenceId = 0, bool? ended, bool? success, String? error})
-
ActionFileUploadResumeResponse2.fromJson(Map<
String, dynamic> json) -
factory
- ActionFileUploadResumeResponse2.fromReader(TeleportObjectReader reader)
-
factory
- ActionFileUploadResumeResponse2.fromTeleport(Uint8List data)
-
factory
Properties
- ended ↔ bool?
-
With Resumable false: true when the upload has ended, and Success and Error then carry its verdict,
as its Complete2 did; false when it has not ended yet. Absent when the server cannot say: the id is
unknown to it, the Resume is not from the upload's owner, or the server predates the field.
getter/setter pair
- error ↔ String?
-
Why Success is false, written for the user, as Complete2's Error.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- nextSequenceId ↔ int
-
getter/setter pair
- resumable ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success ↔ bool?
-
The ended upload's verdict, as Complete2's Success.
getter/setter pair
- uploadId ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toProtocolMessage(
int senderId, {ProtocolMessageOverrides? overrides}) → ProtocolMessage -
toString(
) → String -
A string representation of this object.
inherited
-
toTeleport(
) → Uint8List -
writeTo(
TeleportObjectWriter scope) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fieldIdEnded → const int
- fieldIdError → const int
- fieldIdNextSequenceId → const int
- fieldIdResumable → const int
- fieldIdSuccess → const int
- fieldIdUploadId → const int
- teleportOpcode → const int
- teleportVersion → const int