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 (source != null) 'source': source!,
      if (updateTime != null) 'updateTime': updateTime!,
    };