changePin static method
Future<void>
changePin({
- required List<
String> parameters, - FlowType flowType = FlowType.DETAIL,
- required onProcessComplete onProcessComplete,
- required TimeOutCallBack onRequestTimerEnd,
- required TimeOutCallBack onCardScanTimerEnd,
- required CancelByUserCallBack onCancelByUser,
- required OnErrorCallBack onError,
Implementation
static Future<void> changePin({
required List<String> parameters,
FlowType flowType = FlowType.DETAIL,
required onProcessComplete onProcessComplete,
required TimeOutCallBack onRequestTimerEnd,
required TimeOutCallBack onCardScanTimerEnd,
required CancelByUserCallBack onCancelByUser,
required OnErrorCallBack onError,
}) {
return _bridge.invoke(
'changePin',
params: {'parameters': parameters, 'flowType': flowType.name},
callbacks: {
'onProcessComplete': onProcessComplete,
'onRequestTimerEnd': onRequestTimerEnd,
'onCardScanTimerEnd': onCardScanTimerEnd,
'onCancelByUser': onCancelByUser,
'onError': onError,
},
);
}