Diagnosticable mixin

A mixin class for providing string and DiagnosticsNode debug representations describing the properties of an object.

The string debug representation is generated from the intermediate DiagnosticsNode representation. The DiagnosticsNode representation is also used by debugging tools displaying interactive trees of objects and properties.

See also:

Superclass Constraints
Implemented by

Constructors

Diagnosticable()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode. [...]
toString({DiagnosticLevel minLevel: DiagnosticLevel.info}) String
Returns a string representation of this object.
override
toDiagnosticsNode({String name, DiagnosticsTreeStyle style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep. [...]
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node. [...]
@mustCallSuper, @protected
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

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