void postMessage(dynamic message, [List<Object>? transfer]) => throw UnsupportedError( 'Worker is not available outside a browser context.');