Skip to content

Commit

Permalink
Updating class comments
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisAlund committed Mar 25, 2024
1 parent c800e8a commit 59ae5c1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.1.1

- Updating class documentation

## 0.1.0

* Initial release.
- Initial release.
6 changes: 6 additions & 0 deletions lib/json_delta.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ library json_delta;

import "package:collection/collection.dart";

/// Abstract class for `JsonDelta` mixin to work with. This class should be
/// implemented by any class that wants to use the `JsonDelta` mixin.
abstract class JsonSerializable {

/// Converts the object to a JSON object
/// This method should implement your object's serialization logic
/// that will be used to save the object's state and compare it later.
Map<String, dynamic> toJson();
}

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: json_delta
description: Dart extension for serializing and an object to a JSON delta.
version: 0.1.0
version: 0.1.1
homepage: https://github.com/oddbit/dart-json-delta

environment:
Expand Down

0 comments on commit 59ae5c1

Please sign in to comment.