RpcDecodedFrame class
A decoded multiplexed frame.
Constructors
- RpcDecodedFrame({required int streamId, required bool endOfStream, required bool isMetadata, Uint8List? payload, RpcMetadata? metadata, String? methodPath})
-
Creates an RpcDecodedFrame.
const
Properties
- endOfStream → bool
-
Whether this is the last frame in the stream.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMetadata → bool
-
Whether this frame carries metadata (headers) rather than data.
final
- metadata → RpcMetadata?
-
Decoded metadata (only for metadata frames).
final
- methodPath → String?
-
Method path extracted from metadata.
final
- payload → Uint8List?
-
Raw payload bytes (null for metadata frames).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streamId → int
-
The stream ID this frame belongs to.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited