copyWith method
Implementation
ChannelSettings copyWith({
String? channelId,
int? importance,
bool? isCanBypassDnd,
bool? isCanShowBadge,
bool? isShouldVibrate,
bool? isShouldShowLights,
}) {
return ChannelSettings(
channelId: channelId ?? this.channelId,
importance: importance ?? this.importance,
isCanBypassDnd: isCanBypassDnd ?? this.isCanBypassDnd,
isCanShowBadge: isCanShowBadge ?? this.isCanShowBadge,
isShouldVibrate: isShouldVibrate ?? this.isShouldVibrate,
isShouldShowLights: isShouldShowLights ?? this.isShouldShowLights,
);
}