showErrorDialogFragment method
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
});
}