copyWith method
DetailsState
copyWith({ - Test? test,
- Interpretations2? interpretations,
- Interpretations2? interpretations2,
- PrintStatus? printStatus,
- int? gridPreMin,
- int? mOffset,
- bool? isLoadingShare,
- bool? isLoadingPrint,
- PrintAction? action,
- String? radioValue,
- 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,
);
}