Source
void postMessage(/*SerializedScriptValue*/ message, [List<MessagePort> transfer]) { if (transfer != null) { _blink.BlinkCrossOriginServiceWorkerClient.instance .postMessage_Callback_2_(this, convertDartToNative_SerializedScriptValue(message), transfer); return; } _blink.BlinkCrossOriginServiceWorkerClient.instance.postMessage_Callback_1_( this, convertDartToNative_SerializedScriptValue(message)); return; }