Skip to content

generate dart types (classes) #807

@NeatFastro

Description

@NeatFastro

I want to use supabase with dart (flutter) apps and it would be cool to generate dart classes just like we can generate types/interfaces for typescript

Describe the solution you'd like
I want to run "supabase gen types dart --schema public" and it should print the dart classes with json serialization.

Describe alternatives you've considered
Currently considering to use the freezed and json_serializable packages to manually create and update the classes/types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions