hasAnnotation<T> method

bool hasAnnotation<T>([
  1. Type? type
])
override

Implementation

bool hasAnnotation<T>([Type? type]) => getAnnotations<T>(type).isNotEmpty;