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