setBool abstract method

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

Writes named value to the storage.

Implementation

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