From e4cca8d696a5b4ae71d752e34d675712fdadcac8 Mon Sep 17 00:00:00 2001 From: Shueh Chou Lu Date: Mon, 23 May 2022 09:19:09 +0800 Subject: [PATCH] Use Object in operator == for mocking --- packages/google_sign_in/google_sign_in/lib/google_sign_in.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/google_sign_in/google_sign_in/lib/google_sign_in.dart b/packages/google_sign_in/google_sign_in/lib/google_sign_in.dart index 228f34b651c5..3c62e0e1a655 100644 --- a/packages/google_sign_in/google_sign_in/lib/google_sign_in.dart +++ b/packages/google_sign_in/google_sign_in/lib/google_sign_in.dart @@ -129,7 +129,7 @@ class GoogleSignInAccount implements GoogleIdentity { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { if (identical(this, other)) { return true; }