toJson method

Map<String, dynamic> toJson()

Implementation

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