connect method
Connect to the underlying transport.
Implementation
@override
Future<void> connect() async {
_channel = ClientChannel(
options.host,
port: options.port,
options:
options.channelOptions ??
ChannelOptions(
credentials: ChannelCredentials.insecure(),
),
);
_clients.addAll(options.clients?.call(_channel!) ?? []);
}