connectGrpcServices static method

Future<void> connectGrpcServices()

Implementation

static Future<void> connectGrpcServices() async {
  var connectWebChannel = GrpcWebClientChannel.xhr(
      Uri.parse("https://api.connect.softcorp.io:443"));
  connectService = ConnectService(
    client: SoftcorpGrpc.ConnectAuthPublicServiceClient(connectWebChannel),
    testMode: true,
    mockMode: true,
  );
}