PacketIdRequest<T, R> class abstract interface

Id as payload factory A Request matched with a Response paired request response id for simplicity in case of shared id by request and response can under define responseId for 1-way handlers as constructors, const for enum

Implemented types
Available extensions

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
intId int
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
requestCaster PayloadCaster<T>?
no setter
responseCaster PayloadCaster<R>?
no setter
responseId PacketId?
no setter
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
toString() String
A string representation of this object.
inherited
toStringAsHex() String

Available on PacketId, provided by the PacketIdMethods extension

Operators

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