copyWith method

ChatRecipe copyWith({
  1. String? imageUrl,
  2. String? name,
  3. String? id,
  4. String? deviceModelIds,
  5. String? langDesc,
})

Implementation

ChatRecipe copyWith({
  String? imageUrl,
  String? name,
  String? id,
  String? deviceModelIds,
  String? langDesc,
}) =>
    ChatRecipe(
      imageUrl: imageUrl ?? this.imageUrl,
      name: name ?? this.name,
      id: id ?? this.id,
      deviceModelIds: deviceModelIds ?? this.deviceModelIds,
      langDesc: langDesc ?? this.langDesc,
    );