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