copyWith method

  1. @override
AlbumEntryModel copyWith({
  1. String? documentID,
  2. String? name,
  3. PlatformMediumModel? medium,
})
override

Implementation

@override
AlbumEntryModel copyWith({
  String? documentID,
  String? name,
  PlatformMediumModel? medium,
}) {
  return AlbumEntryModel(
    documentID: documentID ?? this.documentID,
    name: name ?? this.name,
    medium: medium ?? this.medium,
  );
}