copyWith method
override
Creates a copy of this DiagnosticsSerializationDelegate with the provided values.
Implementation
@override
DiagnosticsSerializationDelegate copyWith({
int? subtreeDepth,
bool? includeProperties,
bool? expandPropertyValues,
}) {
return InspectorSerializationDelegate(
groupName: groupName,
summaryTree: summaryTree,
maxDescendantsTruncatableNode: maxDescendantsTruncatableNode,
expandPropertyValues: expandPropertyValues ?? this.expandPropertyValues,
subtreeDepth: subtreeDepth ?? this.subtreeDepth,
includeProperties: includeProperties ?? this.includeProperties,
service: service,
addAdditionalPropertiesCallback: addAdditionalPropertiesCallback,
);
}