copyWith method

CustomFieldContext copyWith({
  1. String? description,
  2. String? id,
  3. bool? isAnyIssueType,
  4. bool? isGlobalContext,
  5. String? name,
})

Implementation

CustomFieldContext copyWith(
    {String? description,
    String? id,
    bool? isAnyIssueType,
    bool? isGlobalContext,
    String? name}) {
  return CustomFieldContext(
    description: description ?? this.description,
    id: id ?? this.id,
    isAnyIssueType: isAnyIssueType ?? this.isAnyIssueType,
    isGlobalContext: isGlobalContext ?? this.isGlobalContext,
    name: name ?? this.name,
  );
}