EndlessStreamingServiceBeta.viaApiKey constructor
Creates a EndlessStreamingService interface using a API keys.
Implementation
factory EndlessStreamingServiceBeta.viaApiKey(String apiKey,
{String? cloudSpeechEndpoint}) =>
EndlessStreamingServiceBeta._(
CallOptions(metadata: {'X-goog-api-key': '$apiKey'}),
cloudSpeechEndpoint: cloudSpeechEndpoint);