Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lint issues for v4 #3

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading