Skip to content

Commit cd8bb0a

Browse files
authored
Fix strict language checks (flutter#6622)
1 parent 8e8726a commit cd8bb0a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

analysis_options.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# repository.
2323

2424
analyzer:
25-
strong-mode:
25+
language:
2626
strict-casts: true
2727
strict-raw-types: true
2828
errors:

packages/google_sign_in/google_sign_in_web/lib/src/generated/gapiauth2.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
1313
// https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/gapi.auth2
1414

15-
// ignore_for_file: public_member_api_docs, unused_element, non_constant_identifier_names, sort_constructors_first, always_specify_types
15+
// ignore_for_file: public_member_api_docs, unused_element, non_constant_identifier_names, sort_constructors_first, always_specify_types, strict_raw_type
1616

1717
@JS()
1818
library gapiauth2;

packages/in_app_purchase/in_app_purchase_storekit/test/fakes/fake_storekit_platform.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class FakeStoreKitPlatform {
176176
if (call.arguments['applicationUsername'] == 'userWithDiscount') {
177177
if (call.arguments['paymentDiscount'] != null) {
178178
final Map<dynamic, dynamic> discountArgument =
179-
call.arguments['paymentDiscount'];
179+
call.arguments['paymentDiscount'] as Map<dynamic, dynamic>;
180180
discountReceived = discountArgument.cast<String, dynamic>();
181181
} else {
182182
discountReceived = <String, dynamic>{};

0 commit comments

Comments
 (0)