copyWith method

OrmMigrationRecordPartial copyWith({
  1. Object? id = _copyWithSentinel,
  2. Object? checksum = _copyWithSentinel,
  3. Object? appliedAt = _copyWithSentinel,
  4. Object? batch = _copyWithSentinel,
})

Implementation

OrmMigrationRecordPartial copyWith({
  Object? id = _copyWithSentinel,
  Object? checksum = _copyWithSentinel,
  Object? appliedAt = _copyWithSentinel,
  Object? batch = _copyWithSentinel,
}) {
  return OrmMigrationRecordPartial(
    id: identical(id, _copyWithSentinel) ? this.id : id as String?,
    checksum: identical(checksum, _copyWithSentinel)
        ? this.checksum
        : checksum as String?,
    appliedAt: identical(appliedAt, _copyWithSentinel)
        ? this.appliedAt
        : appliedAt as DateTime?,
    batch: identical(batch, _copyWithSentinel) ? this.batch : batch as int?,
  );
}