getInt method

int getInt(
  1. dynamic name, {
  2. int defaultVal = 0,
})

Implementation

int getInt(name, {int defaultVal = 0}) {
  return map[name] ?? defaultVal;
}