rowToMap method
Implementation
Map<String, dynamic> rowToMap(int index) {
final row = rows[index];
final ret = <String, dynamic>{};
for (int i = 0; i < header.length; i++) {
ret[header[i]] = i < row.length ? row[i] : null;
}
return ret;
}