toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (asPaths != null) 'asPaths': asPaths!,
if (communities != null) 'communities': communities!,
if (destination != null) 'destination': destination!,
if (med != null) 'med': med!,
if (origin != null) 'origin': origin!,
};