copyWith method
AndroidNotificationSettings
copyWith({
- bool? areNotificationsEnabled,
- int? importance,
- List<
ChannelSettings> ? channelSettings,
Implementation
AndroidNotificationSettings copyWith({
bool? areNotificationsEnabled,
int? importance,
List<ChannelSettings>? channelSettings,
}) {
return AndroidNotificationSettings(
areNotificationsEnabled:
areNotificationsEnabled ?? this.areNotificationsEnabled,
importance: importance ?? this.importance,
channelSettings: channelSettings ?? this.channelSettings,
);
}