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 (cloudSqlProjectId != null) 'cloudSqlProjectId': cloudSqlProjectId!,
  if (database != null) 'database': database!,
  if (dbmPort != null) 'dbmPort': dbmPort!,
  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!,
};