copyWith method

DetailsState copyWith({
  1. Test? test,
  2. Interpretations2? interpretations,
  3. Interpretations2? interpretations2,
  4. PrintStatus? printStatus,
  5. int? gridPreMin,
  6. int? mOffset,
  7. bool? isLoadingShare,
  8. bool? isLoadingPrint,
  9. PrintAction? action,
  10. String? radioValue,
  11. String? movements,
})

Implementation

DetailsState copyWith({
  Test? test,
  Interpretations2? interpretations,
  Interpretations2? interpretations2,
  PrintStatus? printStatus,
  int? gridPreMin,
  int? mOffset,
  bool? isLoadingShare,
  bool? isLoadingPrint,
  PrintAction? action,
  String? radioValue,
  String? movements,
}) {
  return DetailsState(
    test: test ?? this.test,
    interpretations: interpretations ?? this.interpretations,
    interpretations2: interpretations2 ?? this.interpretations2,
    printStatus: printStatus ?? this.printStatus,
    gridPreMin: gridPreMin ?? this.gridPreMin,
    mOffset: mOffset ?? this.mOffset,
    isLoadingShare: isLoadingShare ?? this.isLoadingShare,
    isLoadingPrint: isLoadingPrint ?? this.isLoadingPrint,
    action: action ?? this.action,
    radioValue: radioValue ?? this.radioValue,
    movements: movements ?? this.movements,
  );
}