getAll method

  1. @override
Future<Map<String, Object>> getAll()
override

Returns all key/value pairs persisted in this store.

Implementation

@override
Future<Map<String, Object>> getAll() async {
  final Map<String, Object>? preferences =
      await _kChannel.invokeMapMethod<String, Object>('getAll');

  if (preferences == null) return <String, Object>{};
  return preferences;
}