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