DiagnosticableMixin mixin

A mixin class implementing the Diagnosticable interface that provides string and DiagnosticsNode debug representations describing the properties of an object.

This mixin exists only to support plugins and packages that require older Flutter versions: Use the identical mixin Diagnosticable instead for all new code. If you are authoring code that needs to work on the stable branch as well as master (in a package, for instance), mix this in instead of extending Diagnosticable. Once Diagnosticable as a mixin reaches the stable channel, this class will be deprecated.

Superclass Constraints
Implements

Constructors

DiagnosticableMixin()

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

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

Operators

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