copyWith method

SprintCreateBean copyWith({
  1. String? name,
  2. String? startDate,
  3. String? endDate,
  4. int? originBoardId,
  5. String? goal,
})

Implementation

SprintCreateBean copyWith(
    {String? name,
    String? startDate,
    String? endDate,
    int? originBoardId,
    String? goal}) {
  return SprintCreateBean(
    name: name ?? this.name,
    startDate: startDate ?? this.startDate,
    endDate: endDate ?? this.endDate,
    originBoardId: originBoardId ?? this.originBoardId,
    goal: goal ?? this.goal,
  );
}