toJson method

Map<String, dynamic> toJson()

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!,
};