copyWith method

GalleryData copyWith({
  1. num? projectGalleryId,
  2. String? projectId,
  3. String? title,
  4. List<String>? titleArray,
  5. String? tagLine,
  6. String? type,
  7. String? description,
  8. String? createdAt,
  9. List<ProjectImage>? image,
})

Implementation

GalleryData copyWith({  num? projectGalleryId,
  String? projectId,
  String? title,
  List<String>? titleArray,
  String? tagLine,
  String? type,
  String? description,
  String? createdAt,
  List<ProjectImage>? image,
}) => GalleryData(  projectGalleryId: projectGalleryId ?? _projectGalleryId,
  projectId: projectId ?? _projectId,
  title: title ?? _title,
  titleArray: titleArray ?? _titleArray,
  tagLine: tagLine ?? _tagLine,
  type: type ?? _type,
  description: description ?? _description,
  createdAt: createdAt ?? _createdAt,
  image: image ?? _image,
);