MockRequest.get constructor

MockRequest.get(
  1. String path, {
  2. Map<String, String> headers = const {},
})

Implementation

MockRequest.get(String path, {Map<String, String> headers = const {}})
  : method = "GET",
    uri = Uri(path: path),
    headers = MockHeaders(headers),
    super(Stream.empty());