ServerRouteAnnotations constructor
ServerRouteAnnotations({
- required _AnnotationMimics coreMimics,
- required _AnnotationTypeReferences coreTypeReferences,
- required Iterable<
ServerMimic> data, - required Iterable<
ServerMimic> meta, - required Iterable<
ServerSetHeader> setHeaders, - required ServerAllowOrigins? allowOrigins,
- required ServerAllowHeaders? allowHeaders,
- required ServerExpectHeaders? expectHeaders,
- required ServerMimic? responseHandler,
- 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;