Skip to content

Commit

Permalink
fix(api): add additional headers to concrete implementation of google…
Browse files Browse the repository at this point in the history
… vision
  • Loading branch information
hieupm2096 committed Dec 11, 2024
1 parent d51e7da commit 8323dea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/google_vision_flutter/lib/src/google_vision.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ class GoogleVision with UiLoggy implements gv.GoogleVision {
String apiKey, {
Map<String, String>? additionalHeaders,
}) {
_googleVision.withApiKey(apiKey);
_googleVision.withApiKey(
apiKey,
additionalHeaders: additionalHeaders,
);

return this;
}
Expand Down

0 comments on commit 8323dea

Please sign in to comment.