getBool method

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

Implementation

@override
Future<bool?> getBool(String key) async {
  if (_cache == null) {
    await _updateCache();
  }
  if (_cache == null) return null;
  return _cache![key] as bool?;
}