copyWith method

AnimationId copyWith({
  1. AnimatedMoveId? moveId,
  2. LatLng? destLocation,
  3. double? destZoom,
  4. String? customid,
})

Implementation

AnimationId copyWith({
  AnimatedMoveId? moveId,
  LatLng? destLocation,
  double? destZoom,
  String? customid,
}) {
  return AnimationId(
    moveId: moveId ?? this.moveId,
    destLocation: destLocation ?? this.destLocation,
    destZoom: destZoom ?? this.destZoom,
    customId: customId,
  );
}