| 1 |  |  | import '_impl/xplat/_bootstrapper.dart' | 
                
                
                    | 2 |  |  |     if (dart.library.io) '_impl/native/_bootstrapper.dart' | 
                
                
                    | 3 |  |  |     if (dart.library.html) '_impl/web/_bootstrapper.dart' | 
                
                
                    | 4 |  |  |     if (dart.library.js) '_impl/web/_bootstrapper.dart' | 
                
                
                    | 5 |  |  |     if (dart.library.js_interop) '_impl/web/_bootstrapper.dart' as impl; | 
                
                
                    | 6 |  |  | import 'typedefs.dart'; | 
                
                
                    | 7 |  |  | import 'worker/worker_request.dart'; | 
                
                
                    | 8 |  |  | import 'worker_service.dart'; | 
                
                
                    | 9 |  |  |  | 
                
                
                    | 10 |  |  | /// Instantiates a [WorkerService] via the [initializer] and installs the service in a platform worker. | 
                
                
                    | 11 |  |  | /// The [command] argument is ignored on Web platforms. On native platforms, the [command] argument *must | 
                
                
                    | 12 |  |  | /// be* set to the [Isolate]'s startup parameter. | 
                
                
                    | 13 |  | 10 | void run(WorkerInitializer initializer, [WorkerRequest? command]) => | 
                
                
                    | 14 |  | 10 |     impl.bootstrap(initializer, command); |