asTypeVariable method

TypeVariableDeclaration? asTypeVariable()

Safely casts to TypeVariableDeclaration if possible.

Implementation

TypeVariableDeclaration? asTypeVariable() => this is TypeVariableDeclaration ? this as TypeVariableDeclaration? : null;