copyWith method
PreviewState
copyWith({
- Result? result,
- bool? processing,
- bool? initialized,
- TypeScan? typeScan,
- TypeCamera? typeCamera,
Implementation
PreviewState copyWith({
Result? result,
bool? processing,
bool? initialized,
TypeScan? typeScan,
TypeCamera? typeCamera,
}) {
return PreviewState(
result: result,
processing: processing ?? this.processing,
initialized: initialized ?? this.initialized,
typeScan: typeScan ?? this.typeScan,
typeCamera: typeCamera ?? this.typeCamera,
);
}