copyWith method

MarkerLayerOptions copyWith({
  1. MarkerWidgetBuilder? builder,
  2. Alignment? alignment,
  3. bool? rotate,
})

Implementation

MarkerLayerOptions copyWith({
  MarkerWidgetBuilder? builder,
  Alignment? alignment,
  bool? rotate,
}) {
  return MarkerLayerOptions(
    builder: builder ?? this.builder,
    alignment: alignment ?? this.alignment,
    rotate: rotate ?? this.rotate,
  );
}