getStructuredData method

Future getStructuredData(
  1. String id
)

Gets structured data from the cache

id is the unique identifier for the data

Implementation

Future<dynamic> getStructuredData(String id) async {
  final data =
      _cache.get(_structuredDataKeyPrefix + id) as Map<String, dynamic>?;
  if (data == null) return null;

  return data['data'];
}