getBool method

bool getBool(
  1. String key
)

Reads a key value of bool type from Map.

If value/map is NULL or not bool type return default value defaultBool

Example:

map.getBool("isAdmin") // true

Implementation

bool getBool(String key) => FxMap.getBool(this, key);