copyWith method

  1. @override
ProductImageModel copyWith({
  1. String? documentID,
  2. PlatformMediumModel? image,
})
override

Implementation

@override
ProductImageModel copyWith({
  String? documentID,
  PlatformMediumModel? image,
}) {
  return ProductImageModel(
    documentID: documentID ?? this.documentID,
    image: image ?? this.image,
  );
}