ServiceAccount class Null safety

Inheritance

Constructors

ServiceAccount.fromFile(File file)
Creates a ServiceAccount using a service-account.json file. [...]
factory
ServiceAccount.fromString(String json)
Creates a service account using a passed Json string. This Json string must contain valid Json, otherwise no service account can be created. [...]
factory

Properties

callOptions CallOptions
Returns the CallOptions of the created service account. These can then be used to initialize a new SpeechClient.
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
projectId String?
Returns the current project id of the service account.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited