copyWith method

NotificationSchemeEvent copyWith({
  1. NotificationEvent? event,
  2. List<EventNotification>? notifications,
})

Implementation

NotificationSchemeEvent copyWith(
    {NotificationEvent? event, List<EventNotification>? notifications}) {
  return NotificationSchemeEvent(
    event: event ?? this.event,
    notifications: notifications ?? this.notifications,
  );
}