copyWith method

DeprecatedWorkflow copyWith({
  1. bool? default$,
  2. String? description,
  3. String? lastModifiedDate,
  4. String? lastModifiedUser,
  5. String? lastModifiedUserAccountId,
  6. String? name,
  7. Scope? scope,
  8. int? steps,
})

Implementation

DeprecatedWorkflow copyWith(
    {bool? default$,
    String? description,
    String? lastModifiedDate,
    String? lastModifiedUser,
    String? lastModifiedUserAccountId,
    String? name,
    Scope? scope,
    int? steps}) {
  return DeprecatedWorkflow(
    default$: default$ ?? this.default$,
    description: description ?? this.description,
    lastModifiedDate: lastModifiedDate ?? this.lastModifiedDate,
    lastModifiedUser: lastModifiedUser ?? this.lastModifiedUser,
    lastModifiedUserAccountId:
        lastModifiedUserAccountId ?? this.lastModifiedUserAccountId,
    name: name ?? this.name,
    scope: scope ?? this.scope,
    steps: steps ?? this.steps,
  );
}