Skip to content

Commit e4f2bef

Browse files
committed
include removal of stripping null values
1 parent 5a34b58 commit e4f2bef

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

templates/dart/lib/src/client_mixin.dart.twig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ mixin ClientMixin {
1212
required Map<String, String> headers,
1313
required Map<String, dynamic> params,
1414
}) {
15-
if (params.isNotEmpty) {
16-
params.removeWhere((key, value) => value == null);
17-
}
1815

1916
http.BaseRequest request = http.Request(method.name(), uri);
2017
if (headers['content-type'] == 'multipart/form-data') {

templates/flutter/lib/src/client_mixin.dart.twig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ mixin ClientMixin {
1212
required Map<String, String> headers,
1313
required Map<String, dynamic> params,
1414
}) {
15-
if (params.isNotEmpty) {
16-
params.removeWhere((key, value) => value == null);
17-
}
1815

1916
http.BaseRequest request = http.Request(method.name(), uri);
2017
if (headers['content-type'] == 'multipart/form-data') {

0 commit comments

Comments
 (0)