setBool abstract method
Method to set boolean value to the storage, value can be null according to the support by underlying storage system.
Example code(SharedPreferences Implementation): /// ```dart Future
Implementation
Future<void> setBool(String key, bool? value);