clone method

  1. @override
MediaQuery clone()
override

Implementation

@override
MediaQuery clone() {
  var cloneExpressions = <MediaExpression>[];
  for (var expr in expressions) {
    cloneExpressions.add(expr.clone());
  }
  return MediaQuery(_mediaUnary, _mediaType, cloneExpressions, span);
}