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