rows property

List<TableRowElement> get rows

Implementation

List<TableRowElement> get rows {
  final tableRows = <TableRowElement>[];
  for (var child in children) {
    if (child is TableRowElement) {
      tableRows.add(child);
    }
    if (child._lowerCaseTagName == 'tbody') {
      for (var grandChild in child.children) {
        if (grandChild is TableRowElement) {
          tableRows.add(grandChild);
        }
      }
    }
  }
  return tableRows;
}