Position constructor Null safety

Position(
  1. {int x = 0,
  2. int y = 0,
  3. int z = 0}
)

Implementation

Position({
  this.x = 0,
  this.y = 0,
  this.z = 0,
});