RpcNetworkerPacket class final

Constructors

RpcNetworkerPacket({required int function, required Uint8List data, Channel channel = kAnyChannel})
RpcNetworkerPacket.fromBytes(RpcConfig config, Uint8List bytes)
factory
RpcNetworkerPacket.named({required RpcFunctionName name, required Uint8List data, Channel channel = kAnyChannel})

Properties

channel → int
final
data → Uint8List
final
function → int
final
hashCode → int
The hash code for this object.
no setterinherited
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
toBytes(RpcConfig config) → Uint8List
toString() → String
A string representation of this object.
inherited
withChannel(Channel channel) → RpcNetworkerPacket

Operators

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