AdapterPairImpl<T extends DatumEntityInterface>.fromRegistration constructor

AdapterPairImpl<T extends DatumEntityInterface>.fromRegistration(
  1. DatumRegistration<T> registration
)

Implementation

factory AdapterPairImpl.fromRegistration(DatumRegistration<T> registration) {
  return AdapterPairImpl<T>(
    registration.localAdapter,
    registration.remoteAdapter,
    conflictResolver: registration.conflictResolver,
    middlewares: registration.middlewares,
    config: registration.config,
    observers: registration.observers,
    syncRequestStrategy: registration.syncRequestStrategy,
  );
}