We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd6bae4 commit 0950c1eCopy full SHA for 0950c1e
internal/sidekick/internal/dart/templates/lib/service.mustache
@@ -39,8 +39,9 @@ final class {{Codec.Name}} {
39
/// - `{{{.}}}`
40
{{/Model.Codec.ApiKeyEnvironmentVariables}}
41
///
42
- /// Throws [ArgumentError] if called without arguments and none of the above
43
- /// environment variables are set.
+ /// Throws [ConfigurationException] if called without arguments and none of
+ /// the above environment variables are set. On the web,
44
+ /// always throws [ConfigurationException] if called without arguments.
45
46
/// See [API Keys Overview](https://cloud.google.com/api-keys/docs/overview).
47
factory {{Codec.Name}}.fromApiKey([String? apiKey]) {
0 commit comments