syncCloud method

Future<void> syncCloud()

Implementation

Future<void> syncCloud() async {
  if (!_isCloudEnabled || _cloud == null) {
    throw StateError("Cloud not initialized. Call initializeCloud().");
  }

  await _cloud!.sync();
  await _loadDocumentFromCloud();
}