UpgradeAccept class

Session UPGRADE_ACCEPT payload (Type 0x1A) responding to an upgrade offer.

Annotations

Constructors

UpgradeAccept({required bool accepted, required String peerHandle})
const
UpgradeAccept.fromCbor(Uint8List bytes)
factory

Properties

accepted → bool
final
hashCode → int
The hash code for this object.
no setterinherited
peerHandle → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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