copyWith method

UpdateHavePendingNotifications copyWith({
  1. bool? haveDelayedNotifications,
  2. bool? haveUnreceivedNotifications,
})

Implementation

UpdateHavePendingNotifications copyWith({
  bool? haveDelayedNotifications,
  bool? haveUnreceivedNotifications,
}) =>
    UpdateHavePendingNotifications(
      haveDelayedNotifications:
          haveDelayedNotifications ?? this.haveDelayedNotifications,
      haveUnreceivedNotifications:
          haveUnreceivedNotifications ?? this.haveUnreceivedNotifications,
    );