getInt method

int getInt(
  1. String key, {
  2. int def = 0,
  3. OnGetValueErrorCallback? onError,
})

Get int Type

Implementation

int getInt(String key, {int def = 0, OnGetValueErrorCallback? onError}) {
  return getValue<int>(key, def: def, onError: onError);
}