visitMediaDirective method

  1. @override
void visitMediaDirective(
  1. MediaDirective node
)
override

Implementation

@override
void visitMediaDirective(MediaDirective node) {
  emit('@media');
  emitMediaQueries(node.mediaQueries.cast<MediaQuery>());
  emit(_sp);
  _emitLBrace();
  for (var ruleset in node.rules) {
    ruleset.visit(this);
  }
  _emitRBrace();
}