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