propertyAsBool method

bool? propertyAsBool(
  1. String key, [
  2. bool? def
])

Implementation

bool? propertyAsBool(String key, [bool? def]) =>
    property<bool>(key, def, TypeParser.parseBool);