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<ServerLifecycleComponentMethod> requestWrappers, required List<ServerParam> params, required ServerImports import, required AnnotationArguments arguments, required List<ServerGenericType> genericTypes, required List<ServerType> instantiatedTypeArguments})
ServerLifecycleComponent.fromClassElement(ClassElement element, AnnotationArguments arguments, {ConstructorElement? constructor, DartObject? instanceFields, List<DartType> typeArguments = const []})
factory
ServerLifecycleComponent.fromDartObject(DartObject object, ElementAnnotation annotation)
factory
ServerLifecycleComponent.fromType(DartType type)
factory

Properties

arguments → AnnotationArguments
final
cacheKey → String
no setter
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
hasRequestWrappers → bool
no setter
import → ServerImports
final
imports → List<ServerImports?>
no setteroverride
instantiatedName → String
no setter
instantiatedTypeArguments → List<ServerType>
final
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
requestWrapperClass → ServerClass
no setter
requestWrappers → List<ServerLifecycleComponentMethod>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shouldSubstituteTypeArguments → bool
no setter
wrapperGenericTypes → List<ServerGenericType>
no setter

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>