ServerParamAnnotations.fromElement constructor
ServerParamAnnotations.fromElement(
- FormalParameterElement element
Implementation
factory ServerParamAnnotations.fromElement(FormalParameterElement element) {
return ServerParamAnnotations._getter(({
required List<OnMatch> onMatch,
NonMatch? onNonMatch,
}) {
return getAnnotations(
element: element,
onMatch: onMatch,
onNonMatch: onNonMatch,
);
});
}