customCashier method

Future<int> customCashier(
  1. int pin,
  2. int it,
  3. int dp
)

*customCashier

If you can open the cashiers that is not elgin, you can set the configurations and open

Implementation

Future<int> customCashier(int pin, int it, int dp) async {
  Map<String, dynamic> mapParam = {};
  mapParam['pin'] = pin;
  mapParam['it'] = it;
  mapParam['dp'] = dp;
  int? customCash =
      await platform?.invokeMethod("customCashier", {
        'cashierArgs': mapParam,
      }) ??
      9999;

  if (customCash < 0) {
    throw ElginException(customCash);
  }
  return customCash;
}