copyWith method
StarTransactionTypePaidGroupCallReactionReceive
copyWith({
- MessageSender? senderId,
- int? commissionPerMille,
- 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,
);