toJson method
Implementation
Map<String, dynamic> toJson() {
final accountId = this.accountId;
final memberAccountRuleStatus = this.memberAccountRuleStatus;
return {
if (accountId != null) 'AccountId': accountId,
if (memberAccountRuleStatus != null)
'MemberAccountRuleStatus': memberAccountRuleStatus.toValue(),
};
}