getBool method

bool? getBool(
  1. String key
)

Try to get the value of the properties as bool

Implementation

bool? getBool(String key) =>
    properties?.containsKey(key) ?? false ? properties![key] as bool? : null;