setBool abstract method

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

Stores a flag; null removes the key.

Implementation

Future<void> setBool(String key, bool? value);