-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle organizationUserId parameter in SyncReady event
- Loading branch information
1 parent
2cc5813
commit 8d53066
Showing
5 changed files
with
25 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
class SyncReadyEvent { | ||
// The organization user ID corresponding to the event | ||
String organizationUserId; | ||
// Boolean that indicates whether remote user status has been applied locally. | ||
bool statusApplied; | ||
// Function used to send a Sync Acknowledged API Event. Returns **true** if the API Event was sent, **false** otherwise. | ||
Future<bool> Function() syncAcknowledged = () async => false; | ||
|
||
SyncReadyEvent(this.statusApplied, this.syncAcknowledged); | ||
SyncReadyEvent(this.organizationUserId, this.statusApplied, this.syncAcknowledged); | ||
} |