copyWithCompanion method

SyncPoint copyWithCompanion(
  1. SyncPointsCompanion data
)

Implementation

SyncPoint copyWithCompanion(SyncPointsCompanion data) {
  return SyncPoint(
    scopeName: data.scopeName.present ? data.scopeName.value : this.scopeName,
    scopeKeys: data.scopeKeys.present ? data.scopeKeys.value : this.scopeKeys,
    lastServerTs: data.lastServerTs.present
        ? data.lastServerTs.value
        : this.lastServerTs,
  );
}