show static method
Implementation
static Future<bool> show({
required Future<dynamic> Function({Widget dialog}) dialogService,
Future<bool> Function(String otp)? onComplete,
void Function()? onResend,
String? destination,
}) async {
try {
await dialogService(
dialog: S360fOtpPopup(
destination: destination,
onComplete: onComplete,
onResend: onResend,
),
);
return true;
} catch (e) {
appLog('Error showing Popup: $e');
return false;
}
}