toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'emails'] = this.emails;
json[r'depth'] = this.depth;
if (this.policyId != null) {
json[r'policy_id'] = this.policyId;
} else {
json[r'policy_id'] = null;
}
return json;
}