copyWith method

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

Implementation

NotificationSound copyWith({
  int? id,
  int? duration,
  int? date,
  String? title,
  String? data,
  File? sound,
}) => 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,
);