getPropertyAsBool method

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

Gets a property with key. Returns the value as bool.

def The default value if key not found.

Implementation

bool? getPropertyAsBool(String key, [bool? def]) =>
    getPropertyAs(key, parseBool, def);