toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (destRange != null) 'destRange': destRange!,
  if (direction != null) 'direction': direction!,
  if (imported != null) 'imported': imported!,
  if (nextHopRegion != null) 'nextHopRegion': nextHopRegion!,
  if (priority != null) 'priority': priority!,
  if (type != null) 'type': type!,
};