From 9c45021f6f66a09bd02146dcf89bb08c255d8fde Mon Sep 17 00:00:00 2001 From: Mahdi Date: Thu, 22 Feb 2024 17:31:15 +0330 Subject: [PATCH] Fix covariant == operator. --- packages/firebase_dart/lib/src/auth/error.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/firebase_dart/lib/src/auth/error.dart b/packages/firebase_dart/lib/src/auth/error.dart index aa6e709f..6c8bed0b 100644 --- a/packages/firebase_dart/lib/src/auth/error.dart +++ b/packages/firebase_dart/lib/src/auth/error.dart @@ -400,7 +400,7 @@ class FirebaseAuthException extends FirebaseException { credential.hashCode; @override - bool operator ==(other) => + bool operator ==(covariant FirebaseException other) => other is FirebaseAuthException && other.code == code && other.message == message &&