setServer static method

void setServer(
  1. Preset preset, {
  2. String? serverURL,
  3. String? indexURL,
  4. String? apiURL,
  5. String? autosuggestURL,
  6. String? reportURL,
  7. String? documentURL,
  8. String? rootAccountId,
  9. String? apiKey,
})

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; // = '';
}