metadataFor method
Return a bounded, detached logical dictionary, including retained unknown keys and current model edits. Application vectors are never accessed.
Implementation
Map<String, dynamic> metadataFor(AbstractMessage message) =>
decodeFlatBufferMetadata(
encodeWampFlatBufferCbor(
projectWampFlatBufferMessage(message).dictionary ??
<String, Object?>{},
maximumBytes: 1024 * 1024,
stringDictionaryKeys: true,
),
);