copyWith method

TracingConfiguration copyWith({
  1. Object? groupId = unsetCopyWithValue,
  2. Object? metadata = unsetCopyWithValue,
  3. Object? workflowName = unsetCopyWithValue,
})

Returns a copy of this TracingConfiguration with the given fields replaced.

Pass null for any field to clear the existing value.

Implementation

TracingConfiguration copyWith({
  Object? groupId = unsetCopyWithValue,
  Object? metadata = unsetCopyWithValue,
  Object? workflowName = unsetCopyWithValue,
}) => TracingConfiguration(
  groupId: identical(groupId, unsetCopyWithValue)
      ? this.groupId
      : groupId as String?,
  metadata: identical(metadata, unsetCopyWithValue)
      ? this.metadata
      : metadata as Map<String, dynamic>?,
  workflowName: identical(workflowName, unsetCopyWithValue)
      ? this.workflowName
      : workflowName as String?,
);