asTypeVariable method
Safely casts to TypeVariableDeclaration if possible.
Implementation
TypeVariableDeclaration? asTypeVariable() => this is TypeVariableDeclaration ? this as TypeVariableDeclaration? : null;
Safely casts to TypeVariableDeclaration if possible.
TypeVariableDeclaration? asTypeVariable() => this is TypeVariableDeclaration ? this as TypeVariableDeclaration? : null;