getBool method

bool getBool(
  1. String key
)

Gets a bool or false.

Implementation

bool getBool(String key) {
  return getBoolOrNull(key) ?? false;
}