getBoolProperty method

Property<bool> getBoolProperty(
  1. String name, {
  2. bool defaultValue() = defaultFalse,
  3. bool isImmutable = true,
})

Implementation

Property<bool> getBoolProperty(
  String name, {
  bool Function() defaultValue = defaultFalse,
  bool isImmutable = true,
}) {
  return getProperty(
    name,
    convertToBool,
    defaultValue,
    isImmutable: isImmutable,
  );
}