# copyWith method Null safety

1. @override

ListedItemModel copyWith(

1. {String? documentID,
2. String? description,
3. ActionModel? action,
4. PlatformMediumModel? image,
5. 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,
      );
    }