ActionFileUploadPreStart2 class

Implemented types

Constructors

ActionFileUploadPreStart2({String uploadId = '', String uploadActionId = '', String fileName = '', String mime = '', int byteCount = 0, String relativePath = ''})
ActionFileUploadPreStart2.fromJson(Map<String, dynamic> json)
factory
ActionFileUploadPreStart2.fromReader(TeleportObjectReader reader)
factory
ActionFileUploadPreStart2.fromTeleport(Uint8List data)
factory

Properties

byteCount ↔ int
getter/setter pair
fileName ↔ String
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
mime ↔ String
getter/setter pair
relativePath ↔ String
For a file picked as part of a folder, its path inside that folder: "/"-separated, starting with the folder's name and ending with FileName ("Photos/2024/beach.jpg"). Empty for a file picked on its own. The client chooses it, so the server refuses an absolute path or a ".." segment.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uploadActionId ↔ String
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