write method

Future<bool> write(
  1. String key,
  2. Map<String, dynamic> value
)

Implementation

Future<bool> write(String key, Map<String, dynamic> value) => _preferences.setString(key, jsonEncode(value));