copyWith method

ReportVideoMessageAdvertisement copyWith({
  1. int? advertisementUniqueId,
  2. String? optionId,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

ReportVideoMessageAdvertisement copyWith({
  int? advertisementUniqueId,
  String? optionId,
}) => ReportVideoMessageAdvertisement(
  advertisementUniqueId: advertisementUniqueId ?? this.advertisementUniqueId,
  optionId: optionId ?? this.optionId,
);