createWootPostMessage function
Implementation
String createWootPostMessage(object) {
final stringfyObject = "${WOOT_PREFIX}${jsonEncode(object)}";
final script = 'window.postMessage(\'${stringfyObject}\');';
return script;
}
String createWootPostMessage(object) {
final stringfyObject = "${WOOT_PREFIX}${jsonEncode(object)}";
final script = 'window.postMessage(\'${stringfyObject}\');';
return script;
}