activePinpad method
Create external functions from invoke methodChannel Function to active pinpad with SDK the Stone
Implementation
Future<bool> activePinpad({
required String appName,
required String stoneCode,
}) async {
try {
await channel.invokeMethod(PaymentTypeCall.activePinpad.method, {
"appName": appName,
"stoneCode": stoneCode,
});
return true;
} catch (e) {
return false;
}
}