getBool method

  1. @override
bool? getBool(
  1. String key
)

Reads a value from persistent storage, throwing an exception if it's not a bool.

Implementation

@override
bool? getBool(String key) => getAs(key);