Iterable<Map<String, dynamic>> toMap() sync* { for (int i = 0; i < rows.length; i++) { yield rowToMap(i); } }