copyWith method

TenorCategories copyWith({
  1. String? searchTerm,
  2. String? path,
  3. String? image,
  4. String? name,
})

Implementation

TenorCategories copyWith({
  String? searchTerm,
  String? path,
  String? image,
  String? name,
}) {
  return TenorCategories(
    searchTerm: searchTerm ?? this.searchTerm,
    path: path ?? this.path,
    image: image ?? this.image,
    name: name ?? this.name,
  );
}