toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (connectedObjectId != null) 'connectedObjectId': connectedObjectId!,
if (connectionSiteIndex != null)
'connectionSiteIndex': connectionSiteIndex!,
};