checkoutmethod property

dynamic get checkoutmethod

Implementation

get checkoutmethod => _checkoutmethod.value;
set checkoutmethod (dynamic value)

Implementation

set checkoutmethod(value) {
  if (value == CheckoutMethod.facial) {
    stage = 1;
    facetitle = "Face Verification";
  } else if (value == CheckoutMethod.idcard) {
    stage = 3;
    initializeCamera();
  } else {
    stage = 0;
  }
  _checkoutmethod.value = value;
}