get value as double
double? getDouble(String i) { final data = map[i]; if (data == null) return null; return data.first.toDouble(); }