Zoom.fromInt constructor

Zoom.fromInt({
  1. required int x,
})

Implementation

factory Zoom.fromInt({required int x}) => Zoom(x: x == 0 ? 0 : (x / 10000.0));