getInt method

int? getInt(
  1. String key, {
  2. int? defaultValue,
})

Get the integer value associated with the specified key.

Implementation

int? getInt(String key, {int? defaultValue}) {
  assert(_key != null);
  return _decorator.getInt(key, defaultValue: defaultValue);
}