Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 27b76d8

Browse files
authored
Avoid nullable Future.value (#4027)
1 parent 986eb8e commit 27b76d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/in_app_purchase/in_app_purchase_ios/test/store_kit_wrappers/sk_methodchannel_apis_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class FakeIOSPlatform {
174174
assert(productIDS is List<String>, 'invalid argument type');
175175
startProductRequestParam = call.arguments;
176176
if (getProductRequestFailTest) {
177-
return Future<Map<String, dynamic>>.value(null);
177+
return Future<dynamic>.value(null);
178178
}
179179
return Future<Map<String, dynamic>>.value(
180180
buildProductResponseMap(dummyProductResponseWrapper));

0 commit comments

Comments
 (0)