copyWith method

IOSNotificationOptions copyWith({
  1. bool? showNotification,
  2. bool? playSound,
})

Creates a copy of the object replaced with new values.

Implementation

IOSNotificationOptions copyWith({
  bool? showNotification,
  bool? playSound,
}) =>
    IOSNotificationOptions(
      showNotification: showNotification ?? this.showNotification,
      playSound: playSound ?? this.playSound,
    );