SponsoredPeer class

Sponsored Peer.

ID: c69708d3.

Inheritance

Constructors

SponsoredPeer({required Uint8List randomId, required PeerBase peer, String? sponsorInfo, String? additionalInfo})
Sponsored Peer constructor.
const
SponsoredPeer.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

additionalInfo → String?
Additional Info.
final
flags → int
Flags.
no setter
hashCode → int
The hash code for this object.
no setterinherited
peer → PeerBase
Peer.
final
randomId → Uint8List
Random Id.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sponsorInfo → String?
Sponsor Info.
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