updated method

  1. @protected
bool updated()

Returns whether a row was inserted, updated, or deleted.

Implementation

@protected
bool updated() {
  int count = _database!.updatedRows;
  checkState(count == 0 || count == 1);
  return count == 1;
}