withE2eeRuntimeContext method
Returns an equivalent view associated with runtimeContext.
Implementation
LazyMessagePayload withE2eeRuntimeContext(
WampE2eeRuntimeContext? runtimeContext,
) {
if (runtimeContext == e2eeRuntimeContext) {
return this;
}
return LazyMessagePayload._(
transparentBinaryPayload: transparentBinaryPayload,
encoding: encoding,
pptDecoded: pptDecoded,
e2eeProvider: e2eeProvider,
e2eeRuntimeContext: runtimeContext,
argumentsBytes: _argumentsBytes,
argumentsKeywordsBytes: _argumentsKeywordsBytes,
argumentsDecoder: _argumentsDecoder,
argumentsKeywordsDecoder: _argumentsKeywordsDecoder,
packedPayloadBytes: _packedPayloadBytes,
packedPayloadDecoder: _packedPayloadDecoder,
arguments: _arguments,
argumentsKeywords: _argumentsKeywords,
anchor: anchor,
);
}