ActionFileUploadPreStartResponse2 class
- Implemented types
Constructors
- ActionFileUploadPreStartResponse2({String uploadId = '', bool accepted = false, String? reason})
-
ActionFileUploadPreStartResponse2.fromJson(Map<
String, dynamic> json) -
factory
- ActionFileUploadPreStartResponse2.fromReader(TeleportObjectReader reader)
-
factory
- ActionFileUploadPreStartResponse2.fromTeleport(Uint8List data)
-
factory
Properties
- accepted ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason ↔ String?
-
Why Accepted is false, for the developer: the app refused the file, an invalid file name, no upload
action with that id, an upload with that id still running, too many uploads in flight from this
client, or the app is stopping. Absent from an app that predates it.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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
- fieldIdAccepted → const int
- fieldIdReason → const int
- fieldIdUploadId → const int
-
teleportMessageType
→ const TeleportMessageType<
ActionFileUploadPreStartResponse2> - teleportOpcode → const int
- teleportVersion → const int