toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (bypassFirewallChecks != null)
    'bypassFirewallChecks': bypassFirewallChecks!,
  if (createTime != null) 'createTime': createTime!,
  if (description != null) 'description': description!,
  if (destination != null) 'destination': destination!,
  if (displayName != null) 'displayName': displayName!,
  if (labels != null) 'labels': labels!,
  if (name != null) 'name': name!,
  if (probingDetails != null) 'probingDetails': probingDetails!,
  if (protocol != null) 'protocol': protocol!,
  if (reachabilityDetails != null)
    'reachabilityDetails': reachabilityDetails!,
  if (relatedProjects != null) 'relatedProjects': relatedProjects!,
  if (returnReachabilityDetails != null)
    'returnReachabilityDetails': returnReachabilityDetails!,
  if (roundTrip != null) 'roundTrip': roundTrip!,
  if (source != null) 'source': source!,
  if (updateTime != null) 'updateTime': updateTime!,
};