getBoolean method

Future<bool?> getBoolean(
  1. String key, {
  2. bool? defaultValue,
})

Get the boolean value associated with the specified key.

Implementation

Future<bool?> getBoolean(String key, {bool? defaultValue}) {
  assert(_key != null);
  return _decorator.getBool(key, defaultValue: defaultValue);
}