toJson method

Map<String, dynamic> toJson()

Implementation

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