getMap static method
Implementation
static Future<Map<String, dynamic>?> getMap(String key) async {
final result = await _cacheApi.getMap(key);
if (result != null) {
Map<String, dynamic>? map = {};
result.forEach((key, value) {
if (key != null) {
map[key] = value;
}
});
return map;
}
return null;
}