copyWith method
Implementation
ImageModel copyWith({
String? title,
String? url,
String? categoryId,
String? thumbs,
String? memo,
String? createTime,
}) {
return ImageModel(
title: title ?? this.title,
url: url ?? this.url,
categoryId: categoryId ?? this.categoryId,
thumbs: thumbs ?? this.thumbs,
memo: memo ?? this.memo,
createTime: createTime ?? this.createTime,
);
}