withOption<T extends MarkerOptions> method

InteractiveMarker withOption<T extends MarkerOptions>(
  1. T opt
)

Returns a copy of this marker with the specified option opt added or updated.

Implementation

InteractiveMarker withOption<T extends MarkerOptions>(T opt) =>
    copyWith(options: options.setOpt<T>(opt));