diff --git a/CHANGELOG.md b/CHANGELOG.md index 6dd6ae02..dde54400 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # 1.1.0 -- Fix `hashCode` error when `props` is null -- Added `stringify` feature (optional `toString` override) +- Fix `hashCode` error when `props` is `null` ([#45](https://github.com/felangel/equatable/pull/45)) +- Added `stringify` feature (optional `toString` override) ([#45](https://github.com/felangel/equatable/pull/45)) # 1.0.3 diff --git a/README.md b/README.md index 9f8dffbd..60c5d0fc 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ First, we need to do add `equatable` to the dependencies of the `pubspec.yaml` ```yaml dependencies: - equatable: ^1.0.0 + equatable: ^1.1.0 ``` Next, we need to install it: @@ -168,7 +168,7 @@ class Person extends Equatable { ### `toString` Implementation Equatable can implement `toString` method including all the given props. If you want that behaviour, just include the following: -``` +```dart @override bool get stringify => true; ```