LogoLogo
▼ Other Resources
  • 🏠Atsign Docs
  • atPlatform
    • atSign
    • atRecord
  • atSDK
    • Get Started
    • Authentication
    • atKey Reference
    • CRUD Operations
    • Notifications
    • Additional Features
      • Synchronization
      • Connection Hooks
  • Infrastructure
  • 🗒️Tutorials
    • Dart atSDK Walkthrough
      • Using the atSDK with Dart
      • Get sample code
      • Cutting your atSigns keys
      • Put and Get data asynchronously
      • Send and Receive data synchronously.
      • Remote Procedure Calls (RPC)
      • atTalk - Encrypted chat client
  • Related pages
    • Main site
    • atProtocol specification
    • atSign Registrar
    • NoPorts
Powered by GitBook

© 2025 Atsign

On this page
Export as PDF
  1. atSDK
  2. Additional Features

Synchronization

Flutter / Dart

SyncService

SyncService syncs the client app and remote secondary server’s changes:

  • If the client app’s changes are ahead, it pushes the changes to the remote secondary.

  • If the remote secondary is ahead, it pulls the changes to the client app.

Usage

To trigger a sync, call the .sync function:

AtClientManager atClientManager = AtClientManager.getInstance();
SyncService syncService = atClientManager.syncService;
syncService.sync();
PreviousAdditional FeaturesNextConnection Hooks

Last updated 9 months ago