copyWith method

IssueEvent copyWith({
  1. int? id,
  2. String? name,
})

Implementation

IssueEvent copyWith({int? id, String? name}) {
  return IssueEvent(
    id: id ?? this.id,
    name: name ?? this.name,
  );
}