diff --git a/packages/kiota_abstractions/lib/src/extensions/request_information_extensions.dart b/packages/kiota_abstractions/lib/src/extensions/request_information_extensions.dart index cbf030d..df6f545 100644 --- a/packages/kiota_abstractions/lib/src/extensions/request_information_extensions.dart +++ b/packages/kiota_abstractions/lib/src/extensions/request_information_extensions.dart @@ -142,7 +142,7 @@ extension RequestInformationExtensions on RequestInformation { return; } - final config = RequestConfiguration(HttpHeaders(), [], queryParameters: createParameters()); + final config = RequestConfiguration(HttpHeaders(), [], createParameters()); configurator(config); addQueryParameters(config.queryParameters.getQueryParameters()); diff --git a/packages/kiota_abstractions/lib/src/request_configuration.dart b/packages/kiota_abstractions/lib/src/request_configuration.dart index a6eb729..6d9f2fc 100644 --- a/packages/kiota_abstractions/lib/src/request_configuration.dart +++ b/packages/kiota_abstractions/lib/src/request_configuration.dart @@ -3,7 +3,7 @@ part of '../kiota_abstractions.dart'; /// Request configuration type for [BaseRequestBuilder]s. class RequestConfiguration { - const RequestConfiguration(this.headers, this.options, {required this.queryParameters}); + const RequestConfiguration(this.headers, this.options, this.queryParameters); /// The HTTP headers of the request. final HttpHeaders headers;