copyWith method
Implementation
GalleryData copyWith({ num? projectGalleryId,
String? projectId,
String? title,
List<String>? titleArray,
String? tagLine,
String? type,
String? description,
String? createdAt,
List<Image>? 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,
);