RobotClientOptions.withApiKey constructor

RobotClientOptions.withApiKey(
  1. String apiKeyID,
  2. String apiKey
)

Implementation

RobotClientOptions.withApiKey(String apiKeyID, String apiKey)
  : dialOptions = DialOptions()
      ..credentials = Credentials.apiKey(apiKey)
      ..authEntity = apiKeyID;