UpdateClientContext class

Implemented types

Constructors

UpdateClientContext({int viewportWidth = 0, int viewportHeight = 0, String theme = '', String timezone = '', String visibility = ''})
UpdateClientContext.fromJson(Map<String, dynamic> json)
factory
UpdateClientContext.fromReader(TeleportObjectReader reader)
factory
UpdateClientContext.fromTeleport(Uint8List data)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
theme ↔ String
getter/setter pair
timezone ↔ String
getter/setter pair
viewportHeight ↔ int
getter/setter pair
viewportWidth ↔ int
getter/setter pair
visibility ↔ String
Whether the client's page is shown: "visible", "hidden" (another tab, a minimised window), or empty for a client that has never said.
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