visitMediaQuery method

  1. @override
void visitMediaQuery(
  1. MediaQuery node
)
override

Implementation

@override
void visitMediaQuery(MediaQuery node) {
  var unary = node.hasUnary ? ' ${node.unary}' : '';
  var mediaType = node.hasMediaType ? ' ${node.mediaType}' : '';
  emit('$unary$mediaType');
  for (var expression in node.expressions) {
    visitMediaExpression(expression);
  }
}