hasAnnotations property

bool get hasAnnotations

Implementation

bool get hasAnnotations {
  if (coreMimics.all.isNotEmpty) return true;
  if (coreTypeReferences.all.isNotEmpty) return true;
  if (data.isNotEmpty) return true;
  if (meta.isNotEmpty) return true;
  if (setHeaders.isNotEmpty) return true;
  if (allowOrigins != null) return true;
  if (allowHeaders != null) return true;
  if (expectHeaders != null) return true;
  if (responseHandler != null) return true;
  if (lifecycleComponents.isNotEmpty) return true;
  return false;
}