getBool method

bool? getBool(
  1. String name
)

Gets a Boolean attribute value by key. Returns null if the key doesn't exist or if the value is not a Boolean.

Implementation

bool? getBool(String name) => _getTyped<bool>(name);