userServiceClient static method
Implementation
static Future<ServiceClient> userServiceClient(String url, TransportCredentials transportCredentials) async {
Uri apiUri = Uri.parse(url);
ChannelCredentials channelCredentials =
await transportCredentials.getTransportCredentials();
return ServiceClient(ClientChannel(apiUri.host, port: apiUri.port, options: ChannelOptions(credentials: channelCredentials)));
}