You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes, a field in a JSON file is an object, and the name of this key may also appear in other JSON.
It's no problem when importing files separately, but the current practice will automatically add the generated classes to the "export" statement in the "index.dart" file, resulting in naming conflicts.
Solution
Provide an option to prevent the generated model class from being automatically added to the "export" section of "index.dart".
The text was updated successfully, but these errors were encountered:
Problem
Sometimes, a field in a JSON file is an object, and the name of this key may also appear in other JSON.
It's no problem when importing files separately, but the current practice will automatically add the generated classes to the "export" statement in the "index.dart" file, resulting in naming conflicts.
Solution
Provide an option to prevent the generated model class from being automatically added to the "export" section of "index.dart".
The text was updated successfully, but these errors were encountered: