FFInteractionTestStep constructor

Implementation

factory FFInteractionTestStep({
  FFTestFinder? target,
  FFInteractionTestStep_TapStep? tap,
  FFInteractionTestStep_DoubleTapStep? doubleTap,
  FFInteractionTestStep_LongPressStep? longPress,
  FFInteractionTestStep_EnterTextStep? enterText,
  FFInteractionTestStep_ScrollUntilVisibleStep? scrollUntilVisible,
}) {
  final result = create();
  if (target != null) result.target = target;
  if (tap != null) result.tap = tap;
  if (doubleTap != null) result.doubleTap = doubleTap;
  if (longPress != null) result.longPress = longPress;
  if (enterText != null) result.enterText = enterText;
  if (scrollUntilVisible != null)
    result.scrollUntilVisible = scrollUntilVisible;
  return result;
}