ExecWaitStrategy constructor

ExecWaitStrategy(
  1. List<String> command, {
  2. int expectedExitCode = 0,
})

Creates an ExecWaitStrategy for command.

command is the command and its arguments. expectedExitCode defaults to 0.

Implementation

ExecWaitStrategy(List<String> command, {this.expectedExitCode = 0})
    : command = List.unmodifiable(command);