clone method

LessOptions clone ()

Implementation

LessOptions clone() {
  final op = LessOptions()
    ..silent = silent
    ..verbose = verbose
    ..ieCompat = ieCompat
    ..compress = compress
    ..cleancssOptions = cleancssOptions
    ..dumpLineNumbers = dumpLineNumbers
    ..math = math
    ..sourceMap =
        (sourceMap is bool) ? sourceMap : (sourceMap as String).isNotEmpty
    ..sourceMapOptions = sourceMapOptions
    ..maxLineLen = maxLineLen
    ..pluginManager = pluginManager
    ..paths = paths
    ..rewriteUrls = rewriteUrls
    ..strictUnits = strictUnits
    ..numPrecision = numPrecision
    ..urlArgs = urlArgs
    ..variables = variables
    ..showTreeLevel = showTreeLevel //debug
    ..cleanCss = cleanCss;
  return op;
}