get method
Sends a GET to path with headers and query params; a List
value sends the parameter several times ({'id': [1, 2]}).
Implementation
ResultActions get(
String path, {
Map<String, String> headers = const {},
Map<String, Object> params = const {},
}) => perform(
MockRequestBuilder(HttpMethod.get, path)
..headers.addAll(headers)
..params.addAll(params),
);