build method

void build(
  1. String filename
)

Builds the output of this printer and source map information. After calling this function, you can use text and map to retrieve the geenrated code and source map information, respectively.

Implementation

void build(String filename) {
  writeTo(printer = Printer(filename));
}