getObjectList static method
get object list.
Implementation
static List<Map>? getObjectList(String key) {
if (_prefs == null) return null;
List<String>? dataLis = _prefs?.getStringList(key);
return dataLis?.map((value) {
Map _dataMap = json.decode(value);
return _dataMap;
})?.toList();
}