getGateWayChannel static method

Future<ClientChannel> getGateWayChannel(
  1. String ip,
  2. int port
)

Implementation

static Future<ClientChannel> getGateWayChannel(String ip, int port) async {
  final channel = ClientChannel(ip,
      port: port,
      options: const ChannelOptions(
          credentials: const ChannelCredentials.insecure()));
  return channel;
}