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