copyWith method

GalleryAttachmentList copyWith(
  1. {num? id,
  2. String? url}
)

Implementation

GalleryAttachmentList copyWith({
  num? id,
  String? url,
}) =>
    GalleryAttachmentList(
      id: id ?? this.id,
      url: url ?? this.url,
    );