Zoom.fromString constructor Null safety

Zoom.fromString(
  1. {required String x}
)

Implementation

factory Zoom.fromString({required String x}) => Zoom(x: double.parse(x));