DiagnosticsSerializationDelegate constructor Null safety
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;