copyWith method

PersonalDocument copyWith({
  1. List<DatedFile>? files,
  2. List<DatedFile>? translation,
})

Implementation

PersonalDocument copyWith({
  List<DatedFile>? files,
  List<DatedFile>? translation,
}) => PersonalDocument(
  files: files ?? this.files,
  translation: translation ?? this.translation,
);