DiagnosticPropertiesBuilder class
Builder to accumulate properties and configuration used to assemble a DiagnosticsNode from a Diagnosticable object.
Constructors
- DiagnosticPropertiesBuilder()
- Creates a DiagnosticPropertiesBuilder with properties initialize to an empty array.
-
DiagnosticPropertiesBuilder.fromProperties(List<
DiagnosticsNode> properties) - Creates a DiagnosticPropertiesBuilder with a given properties.
Properties
- defaultDiagnosticsTreeStyle ↔ DiagnosticsTreeStyle
-
Default style to use for the DiagnosticsNode if no style is specified.
getter/setter pair
- emptyBodyDescription ↔ String?
-
Description to show if the node has no displayed properties or children.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
properties
→ List<
DiagnosticsNode> -
List of properties accumulated so far.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
DiagnosticsNode property) → void - Add a property to the list of properties.
-
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