getAll method

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

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;
}