endPayment static method

dynamic endPayment(
  1. dynamic context
)

A simple pop context. It removes the Hydrogen Checkout Modal from the current view

Implementation

static endPayment(context) {
  Navigator.pop(context);
}