Skip to content

Commit

Permalink
Fix lint issues for v4
Browse files Browse the repository at this point in the history
  • Loading branch information
mrclauss committed Feb 23, 2024
1 parent 04886f6 commit c0063db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions packages/isar_test/test/constructor_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class EmptyConstructorModel {

@override
// ignore: hash_and_equals
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return other is EmptyConstructorModel && other.name == name;
}
}
Expand All @@ -27,7 +27,7 @@ class NamedConstructorModel {

@override
// ignore: hash_and_equals
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return other is NamedConstructorModel && other.name == name;
}
}
Expand All @@ -41,7 +41,7 @@ class PositionalConstructorModel {

@override
// ignore: hash_and_equals
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return other is PositionalConstructorModel && other.name == name;
}
}
Expand All @@ -57,7 +57,7 @@ class OptionalConstructorModel {

@override
// ignore: hash_and_equals
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return other is OptionalConstructorModel &&
other.name == name &&
other.value2 == value2;
Expand All @@ -75,7 +75,7 @@ class PositionalNamedConstructorModel {

@override
// ignore: hash_and_equals
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return other is PositionalNamedConstructorModel &&
other.name == name &&
other.value2 == value2;
Expand Down
4 changes: 2 additions & 2 deletions packages/isar_test/test/crud_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class IntModel {

@override
// ignore: hash_and_equals
bool operator ==(dynamic other) {
bool operator ==(Object other) {
if (other is IntModel) {
return other.id == id && other.value == value;
} else {
Expand All @@ -31,7 +31,7 @@ class StringModel {

@override
// ignore: hash_and_equals
bool operator ==(dynamic other) {
bool operator ==(Object other) {
if (other is StringModel) {
return other.id == id;
} else {
Expand Down

0 comments on commit c0063db

Please sign in to comment.