Skip to content

Commit

Permalink
docs: improve snippet in README (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel authored Nov 12, 2024
1 parent ecfe98d commit fc5cf81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ class EquatableDateTimeSubclass extends EquatableDateTime {
]) : super(year, month, day, hour, minute, second, millisecond, microsecond);
@override
List<Object> get props => super.props..addAll([century]);
List<Object> get props => [...super.props, century];
}
```

Expand Down

0 comments on commit fc5cf81

Please sign in to comment.