Object constructor

Object({
  1. Vector3? position,
  2. Size? size,
})

Implementation

Object({
  Vector3? position,
  Size? size,
}){
  this.position = position ?? Vector3(0.0, 0.0, 0.0);
  this.size = size ?? const Size(5,5);
  savePosition();
}