copyWith method

NotificationSound copyWith({
  1. int? id,
  2. int? duration,
  3. int? date,
  4. String? title,
  5. String? data,
  6. File? sound,
  7. dynamic extra,
  8. int? clientId,
})

Implementation

NotificationSound copyWith({
  int? id,
  int? duration,
  int? date,
  String? title,
  String? data,
  File? sound,
  dynamic extra,
  int? clientId,
}) =>
    NotificationSound(
      id: id ?? this.id,
      duration: duration ?? this.duration,
      date: date ?? this.date,
      title: title ?? this.title,
      data: data ?? this.data,
      sound: sound ?? this.sound,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );