copyWith method Null safety

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

Creates a copy of this DiagnosticsSerializationDelegate with the provided values.

Implementation

DiagnosticsSerializationDelegate copyWith({
  int subtreeDepth,
  bool includeProperties,
});