setServer static method
void
setServer(})
Implementation
static void setServer(
Preset preset, {
String? serverURL, // = 'https://app02.operahouse.systems/';
String? indexURL, // = 'index.aspx';
String? apiURL, // = 'ophcore/api/default.aspx';
String? autosuggestURL, // = 'ophcore/api/msg_autosuggest.aspx';
String? reportURL, // = 'ophcore/api/msg_reportdialog.aspx';
String? documentURL, // = 'ophcontent/documents/';
String? rootAccountId, // = 'nebberhub';
String? apiKey,
//String accountId,
//String userid,
//String pwd
} // = 'nebberhub';
) {
preset.serverURL = serverURL; // = 'https://app02.operahouse.systems/';
preset.indexURL = indexURL; // = 'index.aspx';
preset.apiURL = apiURL; // = 'ophcore/api/default.aspx';
preset.autosuggestURL =
autosuggestURL; // = 'ophcore/api/msg_autosuggest.aspx';
preset.reportURL = reportURL; // = 'ophcore/api/msg_reportdialog.aspx';
preset.documentURL = documentURL; // = 'ophcontent/documents/';
preset.rootAccountId = rootAccountId; // = 'nebberhub';
preset.apiKey = apiKey; //'your api';
preset.accountId = rootAccountId;
//g.accountId = accountId; // = 'nebberhub';
//g.userid = userid; // = '';
//g.pwd = pwd; // = '';
}