asTypedef method

TypedefDeclaration? asTypedef()

Safely casts to TypedefDeclaration if possible.

Implementation

TypedefDeclaration? asTypedef() => this is TypedefDeclaration ? this as TypedefDeclaration? : null;