Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: return empty Map when schema properties is null #281

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

gonft
Copy link
Contributor

@gonft gonft commented Dec 4, 2024

Return empty Map when schema properties is not Map<String, dynamic> type to prevent null safety runtime errors. (#280)

Return empty Map when schema properties is not Map<String, dynamic> type
to prevent null safety runtime errors.
@Carapacik Carapacik added the bug Something isn't working label Dec 4, 2024
@Carapacik Carapacik merged commit 35868ea into Carapacik:main Dec 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DartError: TypeError: null: type 'Null' is not a subtype of type 'Map<String, dynamic>'
2 participants