RpcTransportMessage constructor
RpcTransportMessage({})
Creates a transport message.
Implementation
RpcTransportMessage({
this.payload,
this.directPayload,
this.metadata,
this.isEndOfStream = false,
this.methodPath,
required this.streamId,
}) {
if (payload != null && directPayload != null) {
throw ArgumentError('Specify either payload or directPayload, not both');
}
}