Directive.export constructor

Directive.export(
  1. String url,
  2. {List<String> show = const [],
  3. List<String> hide = const []}
)

Implementation

factory Directive.export(
  String url, {
  List<String> show = const [],
  List<String> hide = const [],
}) =>
    Directive((builder) => builder
      ..type = DirectiveType.export
      ..url = url
      ..show.addAll(show)
      ..hide.addAll(hide));