ServerLifecycleComponent class

Mixed-in types

Constructors

ServerLifecycleComponent({required String name, required List<ServerLifecycleComponentMethod> guards, required List<ServerLifecycleComponentMethod> middlewares, required ({List<ServerLifecycleComponentMethod> post, List<ServerLifecycleComponentMethod> pre}) interceptors, required List<ServerLifecycleComponentMethod> exceptionCatchers, required List<ServerParam> params, required ServerImports import, required AnnotationArguments arguments, required List<ServerGenericType> genericTypes})
ServerLifecycleComponent.fromClassElement(ClassElement element, AnnotationArguments arguments)
factory
ServerLifecycleComponent.fromDartObject(ElementAnnotation annotation)
factory
ServerLifecycleComponent.fromType(DartType type)
factory

Properties

arguments AnnotationArguments
final
exceptionCatchers List<ServerLifecycleComponentMethod>
final
exceptionClass ServerClass
no setter
extractors List<ExtractImport?>
no setteroverride
genericTypes List<ServerGenericType>
final
guardClass ServerClass
no setter
guards List<ServerLifecycleComponentMethod>
final
hasExceptionCatchers bool
no setter
hasGuards bool
no setter
hashCode int
The hash code for this object.
no setterinherited
hasInterceptors bool
no setter
hasMiddlewares bool
no setter
import ServerImports
final
imports List<ServerImports?>
no setteroverride
interceptorClass ServerClass
no setter
interceptors → ({List<ServerLifecycleComponentMethod> post, List<ServerLifecycleComponentMethod> pre})
final
middlewareClass ServerClass
no setter
middlewares List<ServerLifecycleComponentMethod>
final
name String
final
params List<ServerParam>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
packageImports() Iterable<String>
inherited
pathImports() Iterable<String>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromTypeReference(DartObject object, ElementAnnotation annotation) List<ServerLifecycleComponent>