setBool method Null safety

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

Saves a boolean value to persistent storage in the background.

Implementation

Future<bool> setBool(String key, bool value) => _setValue('Bool', key, value);