Skip to content

Commit

Permalink
Keep operator== parameter type as Object (#1017)
Browse files Browse the repository at this point in the history
  • Loading branch information
srawlins authored Dec 8, 2023
1 parent a9004ac commit 8799cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/freezed/lib/src/templates/concrete_template.dart
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ String toString($parameters) {

return '''
@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) || (${comparisons.join('&&')});
}
''';
Expand Down

0 comments on commit 8799cec

Please sign in to comment.