sessionAdd method

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

Adds a dynamic value to the sessionPreferences box.

Implementation

Future<bool> sessionAdd(String key, dynamic value) async {
  box!.put(key.toString(), value);
  return true;
}