getInt method

int getInt ({int index, String key })

Implementation

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