formData static method

FormDataMatcher formData(
  1. FormData expected
)

formData matches against the expected FormData by comparing filename, contentType and length.

Does NOT compare file contents.

Implementation

static FormDataMatcher formData(FormData expected) => FormDataMatcher(
      expected: expected,
    );