ConnectionState class abstract

Describes the current state of the connection to Telegram servers.

Inherited by ConnectionStateConnectingToProxy, ConnectionStateUpdating, ConnectionStateReady, ConnectionStateWaitingForNetwork, ConnectionStateConnecting.

Inheritance
Implementers
Available Extensions

Constructors

ConnectionState()

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeinherited
extra int?
Request identifier. Must be non-zero.
read / writeinherited
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) ConnectionState?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"connectionState"