import 'package:proto_socket/proto_socket.dart'; void main() { final types = [ WsProtobufClient, PacketBase, Transport, // Anchors that the IO worker gateway's conditional export resolves to a // web-safe stub without pulling dart:io / dart:isolate into the web build. InboundGateway, IsolateInboundGateway, ]; if (types.isEmpty) { throw StateError('unreachable'); } }