getBoolean method

bool getBoolean ({int index, String key })

Implementation

bool getBoolean({int index, String key}) {
  var result = getValue(index: index, key: key);
  if (result is bool) {
    return result;
  } else {
    return null;
  }
}