toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (customType != null) 'customType': customType!,
if (emailAddress != null) 'emailAddress': emailAddress!,
if (emailUrl != null) 'emailUrl': emailUrl!,
if (primary != null) 'primary': primary!,
if (type != null) 'type': type!,
};