notifyPayment method

Implementation

Future<NetworkResponse<PaymentStatusResponse>> notifyPayment(
    UpdatePaymentRequest request) async {
  return _safeCall(() async {
    final resp =
        await _dio.post('/ezyCart/paymentNotify', data: request.toJson());
    return NetworkSuccess(
        PaymentStatusResponse.fromJson(_requireJsonMap(resp.data)));
  });
}