toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (certificateMap != null) 'certificateMap': certificateMap!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (proxyHeader != null) 'proxyHeader': proxyHeader!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (service != null) 'service': service!,
      if (sslCertificates != null) 'sslCertificates': sslCertificates!,
      if (sslPolicy != null) 'sslPolicy': sslPolicy!,
    };