toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (error != null) 'error': error!,
if (errorInfo != null) 'errorInfo': errorInfo!,
if (errorType != null) 'errorType': errorType!,
if (forwardingRule != null) 'forwardingRule': forwardingRule!,
if (gceOperation != null) 'gceOperation': gceOperation!,
if (ip != null) 'ip': ip!,
if (network != null) 'network': network!,
if (producerInstanceId != null)
'producerInstanceId': producerInstanceId!,
if (project != null) 'project': project!,
if (pscConnectionId != null) 'pscConnectionId': pscConnectionId!,
if (selectedSubnetwork != null)
'selectedSubnetwork': selectedSubnetwork!,
if (serviceAttachmentUri != null)
'serviceAttachmentUri': serviceAttachmentUri!,
if (state != null) 'state': state!,
};