copyWith method

ReviewMarks copyWith({
  1. ValueGetter<int?>? reviewIndex,
  2. ValueGetter<int?>? holdIndex,
})

Implementation

ReviewMarks copyWith({
  ValueGetter<int?>? reviewIndex,
  ValueGetter<int?>? holdIndex,
}) => ReviewMarks(
  reviewIndex: reviewIndex != null ? reviewIndex() : this.reviewIndex,
  holdIndex: holdIndex != null ? holdIndex() : this.holdIndex,
);