revali_construct library
Classes
- AnyFile
- AppAnnotation
- BuildConstruct
- BuildDirectory
-
Construct<
T extends RevaliDirectory> - ConstructConfig
- ConstructDirectory
- ConstructMaker
- ConstructOptions
- ConstructYaml
- ControllerAnnotation
- DartFile
-
Debouncer<
T> - HotReloadData
- HotReloadFilesChanged
- Matcher
- MetaAppConfig
- MetaFromJson
- MetaMethod
- MetaMiddleware
- MetaParam
- MetaPublic
- MetaRecordProp
- MetaRoute
- MetaServer
- MetaToJson
- MetaType
- MetaWebSocketMethod
- MethodAnnotation
- NonMatch
- OnMatch
- PartFile
- RevaliBuildContext
- RevaliConstructConfig
- RevaliContext
- RevaliDirectory
- RevaliYaml
- ServerConstruct
- ServerDirectory
- ServerFile
- SseMethodAnnotation
- TypeChecker
- An abstraction around doing static type checking at compile/build time.
- WebSocketAnnotation
Functions
-
getAnnotations(
{required Element element, required List< OnMatch> onMatch, NonMatch? onNonMatch}) → void -
getFieldObjectFromDartObject(
DartObject obj, String fieldName) → DartObject? -
getFieldValueFromDartObject(
DartObject obj, String fieldName) → String? -
hotReload(
Future< HttpServer?> createServer()) → void -
typeFromIterable(
DartType type) → Element?
Typedefs
-
AnnotationMapper
= void Function({required List<
OnMatch> onMatch, NonMatch? onNonMatch})
Exceptions / Errors
- UnresolvedAnnotationException
- Exception thrown when TypeChecker fails to resolve a metadata annotation.