SpeechToText.viaServiceAccount constructor

SpeechToText.viaServiceAccount(
  1. ServiceAccount account, {
  2. String? cloudSpeechEndpoint,
})

Creates a SpeechToText interface using a service account.

Implementation

factory SpeechToText.viaServiceAccount(ServiceAccount account,
        {String? cloudSpeechEndpoint}) =>
    SpeechToText._(account.callOptions,
        cloudSpeechEndpoint: cloudSpeechEndpoint);