toJson method

Map<String, dynamic> toJson()

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(),
  };
}