-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Formatting, comment added and method renamed
- Loading branch information
1 parent
aa92680
commit e816bc8
Showing
4 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
5 changes: 3 additions & 2 deletions
5
packages/kiota_abstractions/lib/src/abstract_query_parameters.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
part of '../kiota_abstractions.dart'; | ||
|
||
/// Type definition for query parameters. | ||
abstract class AbstractQueryParameters{ | ||
Map<String, dynamic> getQueryParameters(); | ||
abstract class AbstractQueryParameters { | ||
///Return a map representation of the query parameters for the request | ||
Map<String, dynamic> toMap(); | ||
} |
4 changes: 2 additions & 2 deletions
4
packages/kiota_abstractions/lib/src/default_query_parameters.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
part of '../kiota_abstractions.dart'; | ||
|
||
/// Type definition for query parameters. | ||
class DefaultQueryParameters extends AbstractQueryParameters{ | ||
class DefaultQueryParameters extends AbstractQueryParameters { | ||
Map<String, dynamic> queryParameters = {}; | ||
|
||
@override | ||
Map<String, dynamic> getQueryParameters(){ | ||
Map<String, dynamic> toMap() { | ||
return queryParameters; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters