copyWith method

LongreadMaterialEstimation copyWith({
  1. String? startDate,
  2. String? timer,
  3. double? maxScore,
  4. DateTime? deadline,
  5. LongreadMaterialActivity? activity,
})

Implementation

LongreadMaterialEstimation copyWith({
  String? startDate,
  String? timer,
  double? maxScore,
  DateTime? deadline,
  LongreadMaterialActivity? activity,
}) {
  return LongreadMaterialEstimation(
    startDate: startDate ?? this.startDate,
    timer: timer ?? this.timer,
    maxScore: maxScore ?? this.maxScore,
    deadline: deadline ?? this.deadline,
    activity: activity ?? this.activity,
  );
}