File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
internal/sidekick/internal/dart/templates/lib Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,9 @@ final class {{Codec.Name}} {
3939 /// - `{ {{.} }}`
4040{ {/Model.Codec.ApiKeyEnvironmentVariables} }
4141 ///
42- /// Throws [ArgumentError] if called without arguments and none of the above
43- /// environment variables are set.
42+ /// Throws [ConfigurationException] if called without arguments and none of
43+ /// the above environment variables are set. On the web,
44+ /// always throws [ConfigurationException] if called without arguments.
4445 ///
4546 /// See [API Keys Overview](https://cloud.google.com/api-keys/docs/overview).
4647 factory { {Codec.Name} }.fromApiKey([String? apiKey]) {
You can’t perform that action at this time.
0 commit comments