copyWith method

Tag copyWith({
  1. int? id,
  2. int? count,
  3. String? description,
  4. String? link,
  5. String? name,
  6. String? slug,
  7. String? taxonomy,
  8. dynamic meta,
})

Implementation

Tag copyWith({
  int? id,
  int? count,
  String? description,
  String? link,
  String? name,
  String? slug,
  String? taxonomy,
  dynamic meta,
}) {
  return Tag(
    id: id ?? this.id,
    count: count ?? this.count,
    description: description ?? this.description,
    link: link ?? this.link,
    name: name ?? this.name,
    slug: slug ?? this.slug,
    taxonomy: taxonomy ?? this.taxonomy,
    meta: meta ?? this.meta,
  );
}