Skip to content

Conversation

@lohanidamodar
Copy link
Member

What does this PR do?

  • Handle required arrays that can be null during serialization in Dart and Flutter

Test Plan

  • Generated and tested manually

Related PRs and Issues

Have you read the Contributing Guidelines on issues?

YES

@lohanidamodar
Copy link
Member Author

Prior to fix

labels: map['labels'],

After fix

labels: map['labels'] ?? [],

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 Report: Unhandled Exception: type 'Null' is not a subtype of type 'List<dynamic>'

3 participants