hasGenerics property

bool hasGenerics

Returns true if this type has generics.

Implementation

bool get hasGenerics => generics != null && generics!.isNotEmpty;