expireTimeAsync method
Implementation
Future<void> expireTimeAsync(String transactionNo, String refererKey) async {
_setLoading(true);
try {
expireTime =
await APIHandler.callGenerateExpir(transactionNo, refererKey);
} catch (e) {
_errorMessage = 'An error occurred: $e';
} finally {
_setLoading(false);
debugPrint('======Expire Time : $expireTime');
expireTime = (expireTime + 5) ~/ 60;
}
}