storePayment method

Future<void> storePayment()

Implementation

Future<void> storePayment() async {
  try {
    Requests.box.write('hasPayment', true);
    log("Store ${paymentDetails.toJson()}");
    Requests.box.write('paymentDetails', paymentDetails.toJson());
    await Requests.box.save();
  } catch (e) {
    log("Storage Error $e");
  }
}