layer property Null safety

Point<num> layer

Implementation

Point get layer => new Point(_layerX, _layerY);