getCachedMetaData method

Map<String, String> getCachedMetaData()

Returns cached meta data

This meta data is cached by any of create / update / delete operations and channel query with includeMetaData

Implementation

Map<String, String> getCachedMetaData() {
  final metaData =
      _sdk.cache.find<CachedDataMap>(channelKey: channelUrl)?.getAll() ?? {};
  return Map<String, String>.from(metaData);
}