getBool abstract method
Gets a boolean value. Returns defaultValue if the key is missing or the stored type is not bool. @param key Lookup key. @param defaultValue Value to return when not found or type mismatch. @return Stored bool or defaultValue.
Dart code snippet: @snippet storage_manager_example.dart dart_KeyValueStorage_getBool
Implementation
bool getBool(String key, bool defaultValue);