toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alloydbClusterId != null) 'alloydbClusterId': alloydbClusterId!,
      if (cloudSqlId != null) 'cloudSqlId': cloudSqlId!,
      if (host != null) 'host': host!,
      if (networkArchitecture != null)
        'networkArchitecture': networkArchitecture!,
      if (password != null) 'password': password!,
      if (passwordSet != null) 'passwordSet': passwordSet!,
      if (port != null) 'port': port!,
      if (privateServiceConnectConnectivity != null)
        'privateServiceConnectConnectivity':
            privateServiceConnectConnectivity!,
      if (ssl != null) 'ssl': ssl!,
      if (staticIpConnectivity != null)
        'staticIpConnectivity': staticIpConnectivity!,
      if (username != null) 'username': username!,
    };