getBool method

bool getBool(
  1. dynamic key
)

Implementation

bool getBool(dynamic key){
  bool result=false;
  try {
    if (this.containsKey(key)) {
      if(this[key]!=null) {
        result = this[key] as bool;
      }
    }
  }
  catch(ex,stack){
    Simplify.getExceptionMessage(ex,stack:stack);
  }
  return result;
}