printConfig method

void printConfig(
  1. Map<String, Object?> config
)

Implementation

void printConfig(Map<String, Object?> config) {
  if (!_isSilent) {
    const encoder = JsonEncoder.withIndent('  ');
    final prettyprint = encoder.convert(config);

    _output
      ..writeln('\n')
      ..writeln(okPen('⚙️ Merged config:'))
      ..writeln(prettyprint)
      ..writeln('\n');
  }
}