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