Formatter extension type Dump Scalar Dump List Dump Map Dumpable Views

Formatting configuration for the node being dumped.

on
  • DumperConfig

Constructors

Formatter.classic({int indent = 0})
Creates a Formatter which uses indentationStep of 2 spaces and defaults to a linefeed \n as its line ending.
Formatter.config({required int rootIndent, int indentationStep = 2, String lineEnding = '\n'})
Creates a Formatter with the provided configuration.

Properties

config → DumperConfig
final