toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (endTime != null) 'endTime': endTime!,
if (name != null) 'name': name!,
if (source != null) 'source': source!,
if (startTime != null) 'startTime': startTime!,
if (target != null) 'target': target!,
};