SemanticsEvent constructor

const SemanticsEvent(String type)

Initializes internal fields.

type is a string that identifies this class of SemanticsEvents.

Implementation

const SemanticsEvent(this.type);