DiagnosticsSerializationDelegate constructor

const DiagnosticsSerializationDelegate({
  1. int subtreeDepth,
  2. bool includeProperties,
})

Creates a simple DiagnosticsSerializationDelegate that controls the subtreeDepth and whether to includeProperties.

For additional configuration options, extend DiagnosticsSerializationDelegate and provide custom implementations for the methods of this class.

Implementation

const factory DiagnosticsSerializationDelegate({
  int subtreeDepth,
  bool includeProperties,
}) = _DefaultDiagnosticsSerializationDelegate;