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