setItem abstract method

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

Stores the value asynchronously to the storage with the key.

Implementation

Future<void> setItem({
  required String key,
  required String value,
});