DebugBlock constructor

DebugBlock({
  1. String? name,
  2. bool showName = true,
  3. bool showSeparator = true,
  4. Object? value,
  5. String? description,
  6. List<DebugPropertyNode> children = const [],
  7. List<DebugPropertyNode> properties = const [],
})

Implementation

DebugBlock({
  super.name,
  bool showName = true,
  super.showSeparator,
  this.value,
  String? description,
  List<DebugPropertyNode> children = const [],
  List<DebugPropertyNode> properties = const [],
})  : _description = description ?? '',
      _children = children,
      _properties = properties,
      super(
        showName: showName && name != null,
      );