addInteraction<T extends TypedFeaturesetFeature<FeaturesetDescriptor>> method

void addInteraction<T extends TypedFeaturesetFeature<FeaturesetDescriptor>>(
  1. TypedInteraction<T> interaction, {
  2. String? interactionID,
})

Adds an interaction to the map.

An interactionID can be provided to later remove the interaction with removeInteraction.

Implementation

void addInteraction<T extends TypedFeaturesetFeature<FeaturesetDescriptor>>(
  TypedInteraction<T> interaction, {
  String? interactionID,
}) => _impl.addInteraction(interaction, interactionID: interactionID);