print method

void print(
  1. OutputWriter output,
  2. bool detailed
)

Implementation

void print(OutputWriter output, bool detailed) {
  if (detailed) {
    output.writeLn('// generation times');
    for (var t in times.keys) {
      output.writeLn('// ${t} = ${times[t]}ms\n');
    }
  } else {
    output.writeLn("// generated in ${times['composer']}ms");
  }
}