DiagnosticableNode<T extends Diagnosticable> constructor

DiagnosticableNode<T extends Diagnosticable>(
  1. {String name,
  2. @required T value,
  3. @required DiagnosticsTreeStyle style}
)

Create a diagnostics describing a DiagnosticableMixin value.

The value argument must not be null.

Implementation

DiagnosticableNode({
  String name,
  @required this.value,
  @required DiagnosticsTreeStyle style,
}) : assert(value != null),
     super(
       name: name,
       style: style,
     );