copy method Null safety

  1. @override
void copy(
  1. covariant ArtboardBase source
)

Copies property values, currently doesn't trigger change callbacks. It's meant to be a helper for clone.

Implementation

@override
void copy(ArtboardBase source) {
  super.copy(source);
  _width = source._width;
  _height = source._height;
  _x = source._x;
  _y = source._y;
  _originX = source._originX;
  _originY = source._originY;
}