retainMetadataValues method
Snapshot logical metadata for a reconstructed or decorated message. This has the same retention semantics as retainMetadata, with bounded encoding and detached binary values before any retained state is changed.
Implementation
void retainMetadataValues(
AbstractMessage message,
Map<String, dynamic> dictionary,
) => retainMetadata(
message,
encodeWampFlatBufferCbor(
dictionary,
maximumBytes: 1024 * 1024,
stringDictionaryKeys: true,
),
);