DiagnosticPropertiesBuilder class Null safety
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.
read / write
- emptyBodyDescription ↔ String?
-
Description to show if the node has no displayed properties or children.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
properties
→ List<
DiagnosticsNode> -
List of properties accumulated so far.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
add(
DiagnosticsNode property) → void - Add a property to the list of properties.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited