PrettyConfig class

Configuration options for pretty printing HTTP requests and responses in a box format.

Constructors

PrettyConfig.new({bool blockEnabled = true, int lineLength = 80, bool disabledSuggestions = false, bool colorEnabled = true, bool emojiEnabled = true, String jsonIndent = ' '})
const

Properties

blockEnabled bool
Enable pretty printing of HTTP requests and responses in a box format. When enabled, the output will be formatted in a visually appealing box.
final
colorEnabled bool
Show colored output, set to false if you want to disable colored output.
final
disabledSuggestions bool
Disable suggestions, set to true if you want to disable all suggestions setup.
final
emojiEnabled bool
Show emoji output, set to false if you want to disable emoji output.
final
hashCode int
The hash code for this object.
no setterinherited
jsonIndent String
The indentation string used for pretty-printing JSON data.
final
lineLength int
Length of separator lines in pretty printing.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited