getAll method

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

Returns all key/value pairs persisted in this store where the key starts with 'flutter.'.

This default behavior is for backwards compatibility with older versions of this plugin, which did not support custom prefixes, and instead always used the prefix 'flutter.'.

Implementation

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