toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
if (this.profileType != null) {
data['profile_type'] = this.profileType!.toJson();
}
data['profile_type_value'] = this.profileTypeValue;
return data;
}