PanTilt.fromString constructor

PanTilt.fromString({
  1. required String x,
  2. required String y,
})

Implementation

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