toJson method
Converts a TransactionPartnerAffiliateProgram object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
return {
'type': type.value,
'sponsor_user': sponsorUser?.toJson(),
'commission_per_mille': commissionPerMille,
};
}