Skip to content

fix: non_exhaustive_switch_expression in mapFinishReason#115

Open
juan-vgv wants to merge 1 commit into
csells:mainfrom
juan-vgv:main
Open

fix: non_exhaustive_switch_expression in mapFinishReason#115
juan-vgv wants to merge 1 commit into
csells:mainfrom
juan-vgv:main

Conversation

@juan-vgv
Copy link
Copy Markdown

Fixes #113.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the mapFinishReason function in firebase_message_mappers.dart to use a wildcard pattern (_) instead of null as the default fallback in the switch expression. There are no review comments, so I have no feedback to provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] dartantic_firebase_ai fails to compile due to non-exhaustive switch expression on fai.FinishReason

1 participant