toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (childrenLocations != null) 'childrenLocations': childrenLocations!,
if (parentChain != null) 'parentChain': parentChain!,
if (parentLocation != null) 'parentLocation': parentLocation!,
};