copyWith method

TableVicinity copyWith({
  1. int? row,
  2. int? column,
})

Returns a new TableVicinity, copying over the row and column fields with those provided, or maintaining the original values.

Implementation

TableVicinity copyWith({
  int? row,
  int? column,
}) {
  return TableVicinity(
    row: row ?? this.row,
    column: column ?? this.column,
  );
}