openHelpCenter static method

Future<void> openHelpCenter({
  1. required bool showBackButton,
})

openHelpCenter

Opens the help center within the widget

Available Platforms

Web, Android, iOS

Implementation

static Future<void> openHelpCenter({required bool showBackButton}) async {
  if (!kIsWeb && !io.Platform.isAndroid && !io.Platform.isIOS) {
    debugPrint(
      'openHelpCenter is not available for current operating system',
    );
    return;
  }

  await _channel
      .invokeMethod('openHelpCenter', {'showBackButton': showBackButton});
}