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