LoggableJson class
The Json printer tool
Constructors
- LoggableJson({int indent = 2, int rootIndent = 0})
- The Json printer tool
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- indent → int
-
The indentation level of each nested object.
final
- rootIndent → int
-
The indentation level of the root object.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
convert(
dynamic contents) → StringBuffer - Converts the contents to a string with ansi color.
-
directPrint(
dynamic contents, {void logger(String contents)?}) → void - Prints the contents to the console.
-
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