configurePinpad method
Implementation
Future<ElginResponse?> configurePinpad({
required String appName,
required String version,
required String textPinpad,
}) async {
try {
final response = await channel.invokeMethod(
PaymentTypeCall.CONFIGURE_PINPAD.method,
{
'name': appName,
'version': version,
'textPinpad': textPinpad,
},
);
final model = ElginResponse.fromJson(response.toString());
return model;
} catch (_) {
return null;
}
}