copyWith method
Implementation
DamageAssessmentResponse copyWith({
String? status,
bool? isPhotoValid,
String? traceId,
num? errorCodeFromEngine,
String? message,
num? imageId,
DamageAssessmentModel? result,
}) {
return DamageAssessmentResponse(
status: status ?? this.status,
isPhotoValid: isPhotoValid ?? this.isPhotoValid,
traceId: traceId ?? this.traceId,
errorCodeFromEngine: errorCodeFromEngine ?? this.errorCodeFromEngine,
message: message ?? this.message,
imageId: imageId ?? this.imageId,
result: result ?? this.result,
);
}