getRemoteSyncMetadata<T extends DatumEntityInterface> method

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

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

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

Implementation

Future<DatumSyncMetadata?> getRemoteSyncMetadata<T extends DatumEntityInterface>(String userId) async {
  return Datum.manager<T>().getRemoteSyncMetadata(userId);
}