toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final contact = this.contact;
final customTypeName = this.customTypeName;
final type = this.type;
return {
'contact': ?contact,
'customTypeName': ?customTypeName,
'type': ?type,
};
}