toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (cloudLoggingConfig != null) 'cloudLoggingConfig': cloudLoggingConfig!,
  if (creationTime != null) 'creationTime': creationTime!,
  if (description != null) 'description': description!,
  if (dnsName != null) 'dnsName': dnsName!,
  if (dnssecConfig != null) 'dnssecConfig': dnssecConfig!,
  if (forwardingConfig != null) 'forwardingConfig': forwardingConfig!,
  if (id != null) 'id': id!,
  if (kind != null) 'kind': kind!,
  if (labels != null) 'labels': labels!,
  if (name != null) 'name': name!,
  if (nameServerSet != null) 'nameServerSet': nameServerSet!,
  if (nameServers != null) 'nameServers': nameServers!,
  if (peeringConfig != null) 'peeringConfig': peeringConfig!,
  if (privateVisibilityConfig != null)
    'privateVisibilityConfig': privateVisibilityConfig!,
  if (reverseLookupConfig != null)
    'reverseLookupConfig': reverseLookupConfig!,
  if (serviceDirectoryConfig != null)
    'serviceDirectoryConfig': serviceDirectoryConfig!,
  if (visibility != null) 'visibility': visibility!,
};