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