copyWith method

  1. @override
ValueTestCase<INPUT, OUTPUT> copyWith(
  1. ParameterizedCallback<INPUT, OUTPUT> action
)
override

copyWith is used internally by the TestGroup.

Implementation

@override
ValueTestCase<INPUT, OUTPUT> copyWith(action) {
  return ValueTestCase<INPUT, OUTPUT>(
    when: this.when,
    then: this.then,
    input: this.input,
    output: this.output,
    action: action,
    testOn: this.testOn,
    timeout: this.timeout,
    skip: this.skip,
    tags: this.tags,
    onPlatform: this.onPlatform,
    retry: this.retry,
  );
}