load static method

Future<List<String>> load()

Returns the list of consumables from the store.

Implementation

static Future<List<String>> load() async {
  return (await SharedPreferences.getInstance()).getStringList(_kPrefKey) ??
      [];
}