ActionFileUploadComplete2 class
- Implemented types
Constructors
- ActionFileUploadComplete2({String uploadId = '', bool? success, String? error})
-
ActionFileUploadComplete2.fromJson(Map<
String, dynamic> json) -
factory
- ActionFileUploadComplete2.fromReader(TeleportObjectReader reader)
-
factory
- ActionFileUploadComplete2.fromTeleport(Uint8List data)
-
factory
Properties
- error ↔ String?
-
Why Success is false, written for the user.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success ↔ bool?
-
The verdict: false when the upload was rejected, cancelled, timed out, or failed and its data was
deleted. An app that predates it leaves it out, and the server fills it in before relaying: true
when the client's End2 reached the app, false otherwise. So a client always receives it.
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 -
Frames the message under its type's opcode and payload version. The type's default flags
(unreliable for an unreliable message) are added to
overrides' own.override -
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
- fieldIdError → const int
- fieldIdSuccess → const int
- fieldIdUploadId → const int
-
teleportMessageType
→ const TeleportMessageType<
ActionFileUploadComplete2> - teleportOpcode → const int
- teleportVersion → const int