copyWith method

SlugRow copyWith({
  1. int? id,
  2. String? slug,
})

Implementation

SlugRow copyWith({int? id, String? slug}) =>
    SlugRow(id: id ?? this.id, slug: slug ?? this.slug);