byBool method

bool? byBool(
  1. String key, {
  2. bool? defaultValue,
})

Implementation

bool? byBool(String key, {bool? defaultValue}) {
  if (this[key] == null) return defaultValue;
  return byString(key) == "true";
}