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 _methodChannel.invokeMethod(
    'showErrorDialogFragment',
    <String, dynamic>{
      'errCode': errorCode,
      'reqCode': requestCode,
      'useCancelListener': useCancelListener,
    },
  );
}