retrofit_graphql 2.1.2 copy "retrofit_graphql: ^2.1.2" to clipboard
retrofit_graphql: ^2.1.2 copied to clipboard

retrofit_graphql or Retrofit GraphQL for Dart is a powerful code generation tool that simplifies working with GraphQL in Dart projects. This tool automates the generation of Dart classes for types, en [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add retrofit_graphql

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  retrofit_graphql: ^2.1.2

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:retrofit_graphql/code_generators.dart';
import 'package:retrofit_graphql/retrofit_graphql_generator_builder.dart';
2
likes
0
points
38
downloads

Publisher

unverified uploader

Weekly Downloads

retrofit_graphql or Retrofit GraphQL for Dart is a powerful code generation tool that simplifies working with GraphQL in Dart projects. This tool automates the generation of Dart classes for types, enums, inputs. Additionally, it creates a GraphQL client for streamlined query, mutation and subscription execution. The code generator can also be configured to generate fragments that simplify attribute access.​

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

build, glob, logger, petitparser, source_gen

More

Packages that depend on retrofit_graphql