GraphQL codegen plugin for Flutter+Dart using graphql_flutter. This is in a very early stage.
yarn add @vinaybedre/graphql-flutter-codegen
This plugin can be used along with graphql-code-generator
overwrite: true schema: "./schemas/**/*.graphqls" documents: "./documents/**/*.graphql" generates: ./graphql_flutter_documents.dart: plugins: - "@vinaybedre/graphql-flutter-codegen"
This shall output a dart
file like this
Find a working example project at example