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