RpcObjectType class abstract
- Inheritance
- Implementers
Constructors
- RpcObjectType(dynamic id)
-
const
- RpcObjectType.fromMeta(RpcMeta meta)
-
Returns RpcRequest or RpcResponse from
meta
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → dynamic
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
encode(
{String postfix = '%SEP%'}) → List< int> -
Encodes RpcObject to bytes list
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMeta(
) → RpcMeta - Returns RpcMeta of the current RpcObjectType
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
handle(
RpcObjectType rpcObject, {RpcRequestHandler? onRequest, RpcResponseHandler? onResponse, NotificationHandler? onNotification, ResponseResultHandler? onResult, ResponseErrorHandler? onError}) → Future< RpcObject?> -
This function is used to detect the type of RpcObjectType and ease handling it
override