showErrorDialogFragment method

Future<bool> showErrorDialogFragment(
  1. int errorCode,
  2. int requestCode, [
  3. bool? useCancelListener
])

Creates and displays a dialog box for a result code.

Implementation

Future<bool> showErrorDialogFragment(int errorCode, int requestCode,
    [bool? useCancelListener]) async {
  _getEvents();

  return await _channel.invokeMethod("showErrorDialogFragment", {
    'errCode': errorCode,
    'reqCode': requestCode,
    'useCancelListener': useCancelListener ?? null
  });
}