toUnion method

Returns this value as UDeclarationAllowIncoming.

Implementation

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