From ee393f11f750e896594a04c346f5dc61f67663e7 Mon Sep 17 00:00:00 2001 From: Sam Rawlins Date: Tue, 17 Jan 2023 10:10:16 -0800 Subject: [PATCH] == override parameters are non-nullable Make operator == override parameters no-nullable. See https://github.com/dart-lang/linter/issues/3441 Work towards https://github.com/dart-lang/sdk/issues/51038. --- test/widget_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/widget_test.dart b/test/widget_test.dart index e979e48..4e27aae 100644 --- a/test/widget_test.dart +++ b/test/widget_test.dart @@ -2159,7 +2159,7 @@ class EntryBuildSpyCall { final int value2; @override - bool operator ==(dynamic o) => + bool operator ==(Object o) => o is EntryBuildSpyCall && o.value1 == value1 && o.value2 == value2; @override