copyWith method

RequestTypeCreateDTO copyWith({
  1. String? description,
  2. String? helpText,
  3. String? issueTypeId,
  4. String? name,
})

Implementation

RequestTypeCreateDTO copyWith(
    {String? description,
    String? helpText,
    String? issueTypeId,
    String? name}) {
  return RequestTypeCreateDTO(
    description: description ?? this.description,
    helpText: helpText ?? this.helpText,
    issueTypeId: issueTypeId ?? this.issueTypeId,
    name: name ?? this.name,
  );
}