Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 63653e8

Browse files
authored
== override parameters are non-nullable (#117839)
1 parent 9080d1a commit 63653e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/flutter/lib/src/material/about.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ class _DetailArguments {
756756
final List<LicenseEntry> licenseEntries;
757757

758758
@override
759-
bool operator ==(final dynamic other) {
759+
bool operator ==(final Object other) {
760760
if (other is _DetailArguments) {
761761
return other.packageName == packageName;
762762
}

packages/flutter/test/rendering/mouse_tracker_cursor_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ class _CursorUpdateDetails extends MethodCall {
462462
Map<String, dynamic> get arguments => super.arguments as Map<String, dynamic>;
463463

464464
@override
465-
bool operator ==(dynamic other) {
465+
bool operator ==(Object other) {
466466
if (identical(other, this)) {
467467
return true;
468468
}

0 commit comments

Comments
 (0)