withApiKey static method

Future<Viam> withApiKey(
  1. String apiKeyId,
  2. String apiKey, {
  3. String serviceHost = 'app.viam.com',
})

Implementation

static Future<Viam> withApiKey(String apiKeyId, String apiKey, {String serviceHost = 'app.viam.com'}) async {
  return ViamImpl.withApiKey(apiKeyId, apiKey, serviceHost: serviceHost);
}