startApiPolling method
Implementation
Future<void> startApiPolling(String transaction) async {
try {
// startScreenTime(transaction);
_timer = Timer.periodic(Duration(seconds: paymentStatusApiCall),
(Timer timer) async {
await callPaymentTransactionStatusApi(transaction, false, false);
});
} catch (e) {
print(e);
}
}