setEnabled static method

Future<void> setEnabled(
  1. bool isEnabled
)

@summary Sets whether surveys are enabled or not. If you disable surveys on the SDK but still have active surveys on your Instabug dashboard, those surveys are still going to be sent to the device, but are not going to be shown automatically. To manually display any available surveys, call Instabug.showSurveyIfAvailable(). Defaults to true. isEnabled A boolean to set whether Instabug Surveys is enabled or disabled.

Implementation

static Future<void> setEnabled(bool isEnabled) async {
  return _host.setEnabled(isEnabled);
}