getBool method

bool? getBool(
  1. String key
)

Gets a boolean value for the given key, returns null if not found.

Implementation

bool? getBool(String key) => _prefsInstance.getBool(key);