previous_row method

Row previous_row()

Implementation

Row previous_row() {
  final index = spreadsheet.sheet.rows.indexOf(cells);
  if (index == 0) {
    return this;
  }
  return Row(spreadsheet.sheet.rows.elementAt(index - 1), spreadsheet);
}