getAll static method

Future<Map<String, dynamic>> getAll()

Reads all key-value pairs from persistent storage under the specified content provider.

Implementation

static Future<Map<String, dynamic>> getAll() async {
  final allPrefs = await _channel.invokeMethod('getAll');
  return jsonDecode(allPrefs);
}