copyWith method
ListedItemEntity
copyWith({
- String? documentID,
- String? description,
- ActionEntity? action,
- String? imageId,
- PosSizeEntity? posSize,
Implementation
ListedItemEntity copyWith({
String? documentID,
String? description,
ActionEntity? action,
String? imageId,
PosSizeEntity? posSize,
}) {
return ListedItemEntity(
description: description ?? this.description,
action: action ?? this.action,
imageId: imageId ?? this.imageId,
posSize: posSize ?? this.posSize,
);
}