Directive constructor
const
Directive({
- required String selector,
- List<
Object> providers = const [], - String? exportAs,
- Visibility visibility = Visibility.local,
Implementation
const Directive({
required this.selector,
this.providers = const [],
this.exportAs,
this.visibility = Visibility.local,
});