getNum method

num? getNum(
  1. String i
)

get value as num

Implementation

num? getNum(String i) {
  final data = map[i];
  if (data == null) return null;
  return data.first.toNum();
}