toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (databaseService != null) 'databaseService': databaseService!,
      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 (ssl != null) 'ssl': ssl!,
      if (staticServiceIpConnectivity != null)
        'staticServiceIpConnectivity': staticServiceIpConnectivity!,
      if (username != null) 'username': username!,
    };