getInt method

int? getInt(
  1. String i
)

get value as int

Implementation

int? getInt(String i) {
  final data = map[i];
  if (data == null) return null;
  return data.first.toInt();
}