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