getApiBoolOrDefault method

bool getApiBoolOrDefault(
  1. K key, {
  2. bool defaultValue = false,
  3. List<K> alternativeKeys = const [],
})

Implementation

bool getApiBoolOrDefault(
  K key, {
  bool defaultValue = false,
  List<K> alternativeKeys = const [],
}) {
  return _parseBool(_valueFor(key, alternativeKeys), defaultValue);
}