getBool method

bool getBool(
  1. String property
)

Get as bool or empty if null

Implementation

bool getBool(String property)
{
  return get(property)?.asBool() ?? false;
}