getBool method

  1. @Deprecated("Use getValue instead")
bool getBool(
  1. String key
)

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

Implementation

@Deprecated("Use getValue instead")
bool getBool(String key) => appConfig[key];