Skip to content

[FeatureRequest] Prevent models from adding to the "export" section of "index.dart" #38

@greyovo

Description

@greyovo

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions