ServerRouteAnnotations constructor

ServerRouteAnnotations({
  1. required _AnnotationMimics coreMimics,
  2. required _AnnotationTypeReferences coreTypeReferences,
  3. required Iterable<ServerMimic> data,
  4. required Iterable<ServerMimic> meta,
  5. required Iterable<ServerSetHeader> setHeaders,
  6. required ServerAllowOrigins? allowOrigins,
  7. required ServerAllowHeaders? allowHeaders,
  8. required ServerExpectHeaders? expectHeaders,
  9. required ServerMimic? responseHandler,
  10. required List<ServerLifecycleComponent> lifecycleComponents,
})

Implementation

ServerRouteAnnotations({
  required this.coreMimics,
  required this.coreTypeReferences,
  required this.data,
  required this.meta,
  required this.setHeaders,
  required this.allowOrigins,
  required this.allowHeaders,
  required this.expectHeaders,
  required ServerMimic? responseHandler,
  required this.lifecycleComponents,
}) : _responseHandler = responseHandler;