copyWith method
IOSNotificationSettings
copyWith({
- String? authorizationStatus,
- String? soundSetting,
- String? badgeSetting,
- String? notificationCenterSetting,
- String? lockScreenSetting,
- String? carPlaySetting,
- String? alertStyle,
- String? showPreviewsSetting,
- String? criticalAlertSetting,
- bool? providesAppNotificationSettings,
- String? scheduledDeliverySetting,
- String? timeSensitiveSetting,
Implementation
IOSNotificationSettings copyWith(
{String? authorizationStatus,
String? soundSetting,
String? badgeSetting,
String? notificationCenterSetting,
String? lockScreenSetting,
String? carPlaySetting,
String? alertStyle,
String? showPreviewsSetting,
String? criticalAlertSetting,
bool? providesAppNotificationSettings,
String? scheduledDeliverySetting,
String? timeSensitiveSetting}) {
return IOSNotificationSettings(
authorizationStatus: authorizationStatus ?? this.authorizationStatus,
soundSetting: soundSetting ?? this.soundSetting,
badgeSetting: badgeSetting ?? this.badgeSetting,
notificationCenterSetting:
notificationCenterSetting ?? this.notificationCenterSetting,
lockScreenSetting: lockScreenSetting ?? this.lockScreenSetting,
carPlaySetting: carPlaySetting ?? this.carPlaySetting,
alertStyle: alertStyle ?? this.alertStyle,
showPreviewsSetting: showPreviewsSetting ?? this.showPreviewsSetting,
criticalAlertSetting: criticalAlertSetting ?? this.criticalAlertSetting,
providesAppNotificationSettings: providesAppNotificationSettings ??
this.providesAppNotificationSettings,
scheduledDeliverySetting:
scheduledDeliverySetting ?? this.scheduledDeliverySetting,
timeSensitiveSetting:
timeSensitiveSetting ?? this.timeSensitiveSetting);
}