copyWith method

Implementation

UpdateActiveNotifications copyWith({List<NotificationGroup>? groups}) =>
    UpdateActiveNotifications(groups: groups ?? this.groups);