Directive.importDeferredAs constructor

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

Implementation

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