toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.maxPolicies != null) {
json[r'max_policies'] = this.maxPolicies;
} else {
json[r'max_policies'] = null;
}
if (this.maxRulesPerPolicy != null) {
json[r'max_rules_per_policy'] = this.maxRulesPerPolicy;
} else {
json[r'max_rules_per_policy'] = null;
}
if (this.plan != null) {
json[r'plan'] = this.plan;
} else {
json[r'plan'] = null;
}
return json;
}