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 = new Map();
  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;
}