TransactionPartnerAffiliateProgram.fromJson constructor
Creates a TransactionPartnerAffiliateProgram object from JSON.
Implementation
factory TransactionPartnerAffiliateProgram.fromJson(
Map<String, dynamic> json,
) {
return TransactionPartnerAffiliateProgram(
sponsorUser: json['sponsor_user'] != null
? User.fromJson(json['sponsor_user'])
: null,
commissionPerMille: json['commission_per_mille'],
);
}