Object constructor
Object({
- Vector3? position,
- 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();
}