copyWith method
SetCommunityNotificationSettings
copyWith({
- int? communityId,
- ChatNotificationSettings? notificationSettings,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
SetCommunityNotificationSettings copyWith({
int? communityId,
ChatNotificationSettings? notificationSettings,
}) => SetCommunityNotificationSettings(
communityId: communityId ?? this.communityId,
notificationSettings: notificationSettings ?? this.notificationSettings,
);