syncGeneratePairing method

Future<Map<String, dynamic>?> syncGeneratePairing()

Generate a short-lived pairing token on the current sync-space. Returns {token, expires_in} — show the token to the user so a second device can call syncJoinSpace with it.

Implementation

Future<Map<String, dynamic>?> syncGeneratePairing() =>
    _runBackgroundSyncEnvelope(_SyncFfiOperation.generatePairing);