copyWith method
EventNotification
copyWith({
- String? emailAddress,
- String? expand,
- FieldDetails? field,
- GroupName? group,
- int? id,
- EventNotificationNotificationType? notificationType,
- String? parameter,
- ProjectRole? projectRole,
- String? recipient,
- UserDetails? user,
Implementation
EventNotification copyWith(
{String? emailAddress,
String? expand,
FieldDetails? field,
GroupName? group,
int? id,
EventNotificationNotificationType? notificationType,
String? parameter,
ProjectRole? projectRole,
String? recipient,
UserDetails? user}) {
return EventNotification(
emailAddress: emailAddress ?? this.emailAddress,
expand: expand ?? this.expand,
field: field ?? this.field,
group: group ?? this.group,
id: id ?? this.id,
notificationType: notificationType ?? this.notificationType,
parameter: parameter ?? this.parameter,
projectRole: projectRole ?? this.projectRole,
recipient: recipient ?? this.recipient,
user: user ?? this.user,
);
}