Skip to content

Conversation

@jonpittock
Copy link
Contributor

Extends the optBool method to interpret integer and double values as booleans, aligning with Dart's truthiness behavior. This allows for more flexible parameter handling, where numeric values greater than zero are treated as true.

Extends the `optBool` method to interpret integer and double
values as booleans, aligning with Dart's truthiness behavior.
This allows for more flexible parameter handling, where numeric
values greater than zero are treated as true.
Corrects boolean parsing logic from route parameters.

Addresses an issue where boolean values extracted from route
parameters were not being handled correctly, leading to incorrect
interpretations of true/false values.

Updates the parsing logic to correctly handle boolean values passed
as strings, ensuring accurate data conversion.
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.

1 participant