copyWithCompanion method

WindowRectangleRow copyWithCompanion(
  1. WindowRectanglesCompanion data
)

Implementation

WindowRectangleRow copyWithCompanion(WindowRectanglesCompanion data) {
  return WindowRectangleRow(
    id: data.id.present ? data.id.value : this.id,
    width: data.width.present ? data.width.value : this.width,
    height: data.height.present ? data.height.value : this.height,
    dx: data.dx.present ? data.dx.value : this.dx,
    dy: data.dy.present ? data.dy.value : this.dy,
  );
}