copyWith method

NotificationAction copyWith({
  1. int? id,
  2. int? notificationId,
  3. String? payload,
})

Implementation

NotificationAction copyWith(
        {int? id, int? notificationId, String? payload}) =>
    NotificationAction(
      id: id ?? this.id,
      notificationId: notificationId ?? this.notificationId,
      payload: payload ?? this.payload,
    );