copyWith method
ListedItemModel
copyWith({
- String? documentID,
- String? description,
- ActionModel? action,
- PlatformMediumModel? image,
- PosSizeModel? posSize,
override
Implementation
@override
ListedItemModel copyWith({
String? documentID,
String? description,
ActionModel? action,
PlatformMediumModel? image,
PosSizeModel? posSize,
}) {
return ListedItemModel(
documentID: documentID ?? this.documentID,
description: description ?? this.description,
action: action ?? this.action,
image: image ?? this.image,
posSize: posSize ?? this.posSize,
);
}