Directive constructor

const Directive({
  1. required String selector,
  2. List<Object> providers = const [],
  3. String? exportAs,
  4. Visibility visibility = Visibility.local,
})

Implementation

const Directive({
  required this.selector,
  this.providers = const [],
  this.exportAs,
  this.visibility = Visibility.local,
});