triggerInteraction static method
Implementation
static Future<ScLoanSuccess> triggerInteraction(ScLoanInfo loanInfo) async {
try {
String? triggerInteractionResponse =
await _channel.invokeMethod('triggerInteraction', <String, dynamic>{
"interactionToken": loanInfo.interactionToken,
});
return ScLoanSuccess.fromJson(triggerInteractionResponse ?? "{}");
} on PlatformException catch (e) {
throw e.toScLoanError;
}
}