copyWith method
CameraBehaviourChange
copyWith({
- CameraBehaviour? newBehaviour,
- CameraBehaviourChangeReason? changeReason,
Implementation
CameraBehaviourChange copyWith({
CameraBehaviour? newBehaviour,
CameraBehaviourChangeReason? changeReason
}) {
return CameraBehaviourChange(
newBehaviour: newBehaviour ?? this.newBehaviour,
changeReason: changeReason ?? this.changeReason
);
}