getJson static method

Map<String, dynamic> getJson(
  1. String key
)

Implementation

static Map<String, dynamic> getJson(String key) {
  final str = _prefs?.getString(key) ?? '{}';
  return jsonDecode(str);
}