getTokenJS static method
Implementation
static String getTokenJS (String initialUrl, String token, String partnerName) {
debugPrint('>>> Token injection');
return '''
if (!!window && !!window.plumcheck_flutter_sdk && !!window.plumcheck_flutter_sdk.onSdkReady) {
window.plumcheck_flutter_sdk.onSdkReady("$token", "$partnerName");
}
''';
}