clone method

  1. @override
ImportDirective clone()
override

Implementation

@override
ImportDirective clone() {
  var cloneMediaQueries = <MediaQuery>[];
  for (var mediaQuery in mediaQueries) {
    cloneMediaQueries.add(mediaQuery.clone());
  }
  return ImportDirective(import, cloneMediaQueries, span);
}