copyWith method

  1. @override
UpdateNotification copyWith({
  1. int? notificationGroupId,
  2. Notification? notification,
  3. dynamic extra,
  4. int? clientId,
})
override

Implementation

@override
UpdateNotification copyWith({
  int? notificationGroupId,
  Notification? notification,
  dynamic extra,
  int? clientId,
}) =>
    UpdateNotification(
      notificationGroupId: notificationGroupId ?? this.notificationGroupId,
      notification: notification ?? this.notification,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );