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

add getter errorData #6

Merged
merged 2 commits into from
Apr 25, 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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [1.4.0] - 2024-04-25

* Add getter `errorData` in `SyncStateInfo`.
greymag marked this conversation as resolved.
Show resolved Hide resolved

## [1.3.1] - 2023-12-19

* Add `lastSyncDate` getter.
Expand Down
1 change: 1 addition & 0 deletions lib/src/sync_state_info.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
abstract class SyncStateInfo {
SyncState get state;
SyncError? get syncError;
Object? get errorData;

/// Fatal error.
bool get isFatalError =>
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: in_sync_interface
description: An interface for synchronization functional. Used by in_sync.
version: 1.3.1
version: 1.4.0
homepage: https://github.com/innim/
repository: https://github.com/Innim/in_sync_interface
issue_tracker: https://github.com/Innim/in_sync_interface/issues
Expand Down
Loading