copyWith method
IOSNotificationSettings
copyWith(
{ - String? authorizationStatus,
- String? soundSetting,
- String? badgeSetting,
- String? notificationCenterSetting,
- String? lockScreenSetting,
- String? carPlaySetting,
- String? alertStyle,
- String? showPreviewSetting,
- String? criticalAlertSetting,
- bool? providesAppNotificationSettings,
})
Implementation
IOSNotificationSettings copyWith({
String? authorizationStatus,
String? soundSetting,
String? badgeSetting,
String? notificationCenterSetting,
String? lockScreenSetting,
String? carPlaySetting,
String? alertStyle,
String? showPreviewSetting,
String? criticalAlertSetting,
bool? providesAppNotificationSettings,
}) {
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,
showPreviewSetting: showPreviewSetting ?? this.showPreviewSetting,
criticalAlertSetting: criticalAlertSetting ?? this.criticalAlertSetting,
providesAppNotificationSettings: providesAppNotificationSettings ??
this.providesAppNotificationSettings,
);
}