SemanticsEvent constructor

const SemanticsEvent(
  1. String type
)

Initializes internal fields.

type is a string that identifies this class of SemanticsEvents.

Implementation

const SemanticsEvent(this.type);