mapBoo static method
Returns the value from mapVal as a bool if it is a bool
Implementation
static bool? mapBoo(Map? map, dynamic key, {bool? defaultValue})
{
dynamic value = mapVal(map,key,defaultValue: defaultValue);
if (isBool(value))
value = S.toBool(value);
else value = defaultValue;
return value;
}