copyWith method

  1. @override
StarTransactionTypePaidGroupCallReactionReceive copyWith({
  1. MessageSender? senderId,
  2. int? commissionPerMille,
  3. StarAmount? commissionStarAmount,
})
override

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

Implementation

@override
StarTransactionTypePaidGroupCallReactionReceive copyWith({
  MessageSender? senderId,
  int? commissionPerMille,
  StarAmount? commissionStarAmount,
}) => StarTransactionTypePaidGroupCallReactionReceive(
  senderId: senderId ?? this.senderId,
  commissionPerMille: commissionPerMille ?? this.commissionPerMille,
  commissionStarAmount: commissionStarAmount ?? this.commissionStarAmount,
);