getInt method

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

Get the integer value associated with the specified key.

Implementation

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