getBool method

  1. @override
Future<bool> getBool(
  1. String key, {
  2. bool defaultValue = false,
})
override

Reads a boolean value.

Implementation

@override
Future<bool> getBool(String key, {bool defaultValue = false}) async =>
    (_store[key] as bool?) ?? defaultValue;