copyWith method

ConnectCustomFieldValue copyWith({
  1. ConnectCustomFieldValueType? type,
  2. int? fieldId,
  3. int? issueId,
  4. num? number,
  5. String? optionId,
  6. String? richText,
  7. String? string,
  8. String? text,
})

Implementation

ConnectCustomFieldValue copyWith(
    {ConnectCustomFieldValueType? type,
    int? fieldId,
    int? issueId,
    num? number,
    String? optionId,
    String? richText,
    String? string,
    String? text}) {
  return ConnectCustomFieldValue(
    type: type ?? this.type,
    fieldId: fieldId ?? this.fieldId,
    issueId: issueId ?? this.issueId,
    number: number ?? this.number,
    optionId: optionId ?? this.optionId,
    richText: richText ?? this.richText,
    string: string ?? this.string,
    text: text ?? this.text,
  );
}