keepSynced method
By calling keepSynced(true) on a location, the data for that location will automatically be downloaded and kept in sync, even when no listeners are attached for that location. Additionally, while a location is kept synced, it will not be evicted from the persistent disk cache.
Implementation
Future<void> keepSynced(bool value) {
return _queryPlatform.keepSynced(value);
}