toUnion method

UInteractionEvent toUnion()

Returns this value as UInteractionEvent.

Implementation

UInteractionEvent toUnion() => UInteractionEvent.knownValue(data: this);