Skip to content

Commit 1fcc99d

Browse files
simolus3fotiDim
authored andcommitted
Avoid nullable Future.value (flutter#4027)
1 parent 18681e0 commit 1fcc99d

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)