copyWith method
SubscriptionsAcknowledgedNotificationParams
copyWith({
- NotificationMetaObject? meta,
- SubscriptionFilter? notifications,
A copy with the given properties replaced; everything else, unknown keys included, is kept.
Implementation
SubscriptionsAcknowledgedNotificationParams copyWith({
NotificationMetaObject? meta,
SubscriptionFilter? notifications,
}) =>
SubscriptionsAcknowledgedNotificationParams.fromJson({
...toJson(),
if (meta != null) '_meta': $encode(meta),
if (notifications != null) 'notifications': $encode(notifications),
});