copyWith method

UpdateStarRevenueStatus copyWith({
  1. MessageSender? ownerId,
  2. StarRevenueStatus? status,
})

Implementation

UpdateStarRevenueStatus copyWith({
  MessageSender? ownerId,
  StarRevenueStatus? status,
}) => UpdateStarRevenueStatus(
  ownerId: ownerId ?? this.ownerId,
  status: status ?? this.status,
);