updateIntercomSettings method

JsObject updateIntercomSettings(
  1. String key,
  2. dynamic value
)

add/update property to window.IntercomSettings and returns the updated object

Implementation

js.JsObject updateIntercomSettings(String key, dynamic value) {
  var intercomSettings = getIntercomSettings();
  intercomSettings[key] = value;
  return intercomSettings;
}