currentTaskPlatform function
Web has no packaged native task runtime. The GPU is what a registered plugin's taskPlatformGpuReader names, such as the browser's WebGPU adapter, read once; the engine is what the user agent names.
Implementation
Future<TaskPlatform> currentTaskPlatform() => _platform ??= _readPlatform();