copyWith method
A copy with the given properties replaced; everything else, unknown keys included, is kept.
Implementation
TaskSubscriptionNotifications copyWith({
List<String>? taskIds,
}) =>
TaskSubscriptionNotifications.fromJson({
...toJson(),
if (taskIds != null) 'taskIds': $encode(taskIds),
});