|
|
|
|
@ -4,6 +4,7 @@ import 'package:diplomaticquarterapp/core/enum/PayfortEnums.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/locator.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/services/payfort_services/payfort_project_details_resp_model.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/services/payfort_services/payfort_service.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/app_toast.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/utils.dart';
|
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
|
@ -77,7 +78,8 @@ class PayfortViewModel extends ChangeNotifier {
|
|
|
|
|
);
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(AppGlobal.context);
|
|
|
|
|
} catch (e) {
|
|
|
|
|
Utils.showErrorToast(e.toString());
|
|
|
|
|
// Utils.showErrorToast(e.toString());
|
|
|
|
|
AppToast.showErrorToast(message: e.toString(), localContext: AppGlobal.context);
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(AppGlobal.context);
|
|
|
|
|
throw e;
|
|
|
|
|
}
|
|
|
|
|
|