makeWriter method

IndentingWriter makeWriter()

Creates an IndentingWriter with metadata generation enabled or disabled.

Implementation

IndentingWriter makeWriter() => IndentingWriter(
    filename: options.generateMetadata ? descriptor.name : null);