copyWith method

StarTransactionTypePaidMessageReceive copyWith({
  1. MessageSender? senderId,
  2. int? messageCount,
  3. int? commissionPerMille,
  4. StarAmount? commissionStarAmount,
})

Implementation

StarTransactionTypePaidMessageReceive copyWith({
  MessageSender? senderId,
  int? messageCount,
  int? commissionPerMille,
  StarAmount? commissionStarAmount,
}) => StarTransactionTypePaidMessageReceive(
  senderId: senderId ?? this.senderId,
  messageCount: messageCount ?? this.messageCount,
  commissionPerMille: commissionPerMille ?? this.commissionPerMille,
  commissionStarAmount: commissionStarAmount ?? this.commissionStarAmount,
);