getBool method

bool getBool(
  1. String path, [
  2. bool defaultValue = false
])

Implementation

bool getBool(String path, [bool defaultValue = false]) {
  return getBoolOrNull(path, defaultValue) ?? defaultValue;
}