PhoneConnection class

Phone Connection.

ID: 9cc123c7.

Inheritance

Constructors

PhoneConnection({required bool tcp, required int id, required String ip, required String ipv6, required int port, required Uint8List peerTag})
Phone Connection constructor.
const
PhoneConnection.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

flags → int
Flags.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → int
Id.
final
ip → String
Ip.
final
ipv6 → String
Ipv6.
final
peerTag → Uint8List
Peer Tag.
final
port → int
Port.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tcp → bool
tcp: bit 0 of flags.0?true
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() → Map<String, dynamic>
Converts an object to JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

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