putBool static method

Future<void> putBool(
  1. String key,
  2. bool value
)

Stores a boolean value.

Implementation

static Future<void> putBool(String key, bool value) async {
  await _sharedPreferences.setBool(key, value);
}