toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (primary != null) 'primary': primary!.toJson(),
if (primarySource != null) 'primarySource': primarySource!.toJson(),
if (residual != null) 'residual': residual!.toJson(),
if (residualSource != null) 'residualSource': residualSource!.toJson(),
};