set abstract method

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

Saves a value under the specified key.

  • key: The key to store the value under.
  • value: The data to be stored.

Returns true if the operation was successful, otherwise false.

Implementation

Future<bool> set(String key, dynamic value);