syncDirection property

SyncDirection syncDirection

The synchronization direction for the specified layer or table Id.

The default value is SyncDirection.bidirectional.

Implementation

SyncDirection get syncDirection {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_SyncLayerOption_getSyncDirection(
      _handle,
      errorHandler,
    );
  });
  return SyncDirection._fromCoreValue(
    coreValue,
  );
}
void syncDirection=(SyncDirection value)

Implementation

set syncDirection(SyncDirection value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_SyncLayerOption_setSyncDirection(
      _handle,
      value.coreValue,
      errorHandler,
    );
  });
}