reload method

Future<void> reload()

Implementation

Future<void> reload() async {
  final Map<String, Object> preferences =
  await SharedPreferences._getSharedPreferencesMap();
  _preferenceCache.clear();
  _preferenceCache.addAll(preferences);
}