getObjectList static method

List<Map>? getObjectList(
  1. String key
)

get object list.

Implementation

static List<Map>? getObjectList(String key) {
  List<String>? dataLis = _prefs?.getStringList(key);
  return dataLis?.map((value) {
    Map _dataMap = json.decode(value);
    return _dataMap;
  }).toList();
}