copyWith method

DatedFile copyWith({
  1. File? file,
  2. int? date,
})

Implementation

DatedFile copyWith({
  File? file,
  int? date,
}) => DatedFile(
  file: file ?? this.file,
  date: date ?? this.date,
);