== override parameters are non-nullable (#117839)

This commit is contained in:
Sam Rawlins 2023-01-03 17:13:21 -08:00 committed by GitHub
parent 9080d1acc5
commit 63653e8272
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -756,7 +756,7 @@ class _DetailArguments {
final List<LicenseEntry> licenseEntries;
@override
bool operator ==(final dynamic other) {
bool operator ==(final Object other) {
if (other is _DetailArguments) {
return other.packageName == packageName;
}

View File

@ -462,7 +462,7 @@ class _CursorUpdateDetails extends MethodCall {
Map<String, dynamic> get arguments => super.arguments as Map<String, dynamic>;
@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
if (identical(other, this)) {
return true;
}