copyWith method
copyWith is the function to copy the class.
Implementation
CameraInfos copyWith({
List<Cameras>? cameras,
}) {
return CameraInfos(
cameras: cameras ?? this.cameras,
);
}
copyWith is the function to copy the class.
CameraInfos copyWith({
List<Cameras>? cameras,
}) {
return CameraInfos(
cameras: cameras ?? this.cameras,
);
}