DragStep constructor

DragStep({
  1. required String? dx,
  2. required String? dy,
  3. required String testableId,
  4. Duration? timeout,
})

Implementation

DragStep({
  required this.dx,
  required this.dy,
  required this.testableId,
  this.timeout,
})  : assert((dx != null && JsonClass.parseDouble(dx) != 0.0) ||
          (dy != null && JsonClass.parseDouble(dy) != 0.0)),
      assert(testableId.isNotEmpty == true);