getBool method

Future<bool?> getBool(
  1. String key
)

Implementation

Future<bool?> getBool(String key) async {
  await _ensureInitialized();
  final box = _getBoxForKey(key);
  return box.get(key);
}