clone method
Implementation
@override
MediaDirective clone() {
var cloneQueries = <MediaQuery>[];
for (var mediaQuery in mediaQueries) {
cloneQueries.add(mediaQuery.clone());
}
var cloneRules = <TreeNode>[];
for (var rule in rules) {
cloneRules.add(rule.clone());
}
return MediaDirective(cloneQueries, cloneRules, span);
}