toQuery method
Returns the map representing query parameters.
Each key may have zero or more values.
{'foo': ['bar', 'baz']}
represents ?foo=bar&foo=baz
Implementation
@override
Map<String, List<String>> toQuery() =>
_parameters.map((key, value) => MapEntry(key, value.toList()));