withInput method

ActionResult withInput(
  1. InputReport input
)

This success with input recorded.

Implementation

ActionResult withInput(InputReport input) => ActionResult.success(
      action: action,
      summary: '$summary ยท ${input.label}',
      physicalCenter: physicalCenter,
      logicalCenter: logicalCenter,
      devicePixelRatio: devicePixelRatio,
      painted: painted,
      hittable: hittable,
      warnings: warnings,
      nextSteps: nextSteps,
      input: input,
    );