byteStreamBodyHasAccess function

bool byteStreamBodyHasAccess(
  1. BaseParameterAnnotation annotation
)

Implementation

bool byteStreamBodyHasAccess(BaseParameterAnnotation annotation) {
  return annotation is ServerBodyAnnotation &&
      (annotation.access?.isNotEmpty ?? false);
}