setConfig static method

void setConfig(
  1. String clientId, {
  2. bool? sandboxMode = false,
  3. bool? multitaskMode = true,
  4. String? theme,
  5. bool? isDebug = false,
  6. bool? showPermissionsPage = true,
  7. bool? showClearCache = true,
})

Implementation

static void setConfig(String clientId,
    {bool? sandboxMode = false,
    bool? multitaskMode = true,
    String? theme,
    bool? isDebug = false,
    bool? showPermissionsPage = true,
    bool? showClearCache = true}) {
  _channel.invokeMethod("setConfig", {
    'client_id': clientId,
    'sandbox_mode': sandboxMode,
    'multitask_mode': multitaskMode,
    'theme': theme == 'dark' || theme == 'light' ? theme : 'system',
    'is_debug': isDebug,
    'show_permissions_page': showPermissionsPage,
    'show_clear_cache': showClearCache
  });
}