getRemoteSyncMetadata method

Future<DatumSyncMetadata?> getRemoteSyncMetadata(
  1. String userId
)

Fetches sync metadata from the remote server for this entity type.

This is a convenience method that calls remoteAdapter.getSyncMetadata. Returns null if no metadata exists or if the remote adapter doesn't support this operation.

Implementation

Future<DatumSyncMetadata?> getRemoteSyncMetadata(String userId) async {
  _ensureInitialized();
  return remoteAdapter.getSyncMetadata(userId);
}