startClassicForm static method
startClassicForm
Manually start the feedback form workflow.
GleapNotInitialisedException
thrown when Gleap is not initialised
Available Platforms
Android, iOS, Web
Implementation
static Future<void> startClassicForm({
required String formId,
bool showBackButton = true,
}) async {
if (!kIsWeb && !io.Platform.isAndroid && !io.Platform.isIOS) {
debugPrint(
'startClassicForm is not available for current operating system');
return;
}
await _channel.invokeMethod(
'startClassicForm',
{'formId': formId, 'showBackButton': showBackButton},
);
}