copyWith method

SpaceHistory copyWith({
  1. DateTime? createdDate,
  2. User? createdBy,
})

Implementation

SpaceHistory copyWith({DateTime? createdDate, User? createdBy}) {
  return SpaceHistory(
    createdDate: createdDate ?? this.createdDate,
    createdBy: createdBy ?? this.createdBy,
  );
}