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