createDecorator(name: string,metadata: Readonly<Record<string, unknown>>): SetuClassOrMethodDecorator
Creates a custom class or method decorator that stores metadata readable by the DecoratorPlugin and custom decorator handlers.
At registration, for each registered DecoratorHandler whose name matches,
the handler is invoked with (metadata, target, propertyKey?).
A class or method decorator