openFeatureRequests static method

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

openFeatureRequests

Opens the feature request portal within the widget

Available Platforms

Web, Android, iOS

Implementation

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

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