copyWith method

Album copyWith({
  1. String? name,
  2. String? identifier,
  3. int? count,
})

Implementation

Album copyWith({
  String? name,
  String? identifier,
  int? count,
}) {
  return Album(
    name ?? this.name,
    identifier ?? this.identifier,
    count ?? this.count,
  );
}