copyWith method

Entry copyWith({
  1. int? issueId,
  2. String? issueKey,
  3. int? status,
  4. List<String>? errors,
})

Implementation

Entry copyWith(
    {int? issueId, String? issueKey, int? status, List<String>? errors}) {
  return Entry(
    issueId: issueId ?? this.issueId,
    issueKey: issueKey ?? this.issueKey,
    status: status ?? this.status,
    errors: errors ?? this.errors,
  );
}