writeValue method

Future<void> writeValue({
  1. required String key,
  2. required String value,
})

Write value

Implementation

Future<void> writeValue({required String key, required String value}) async {
  _sharedPreferences.setString(key, value);
}