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

retrofit_graphql or Retrofit GraphQL for Dart is a powerful code generation tool that simplifies working with GraphQL in Dart projects.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add retrofit_graphql

With Flutter:

 $ flutter 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: ^3.1.0

Alternatively, your editor might support dart pub get or flutter 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
120
points
37
downloads

Documentation

API reference

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.

License

MIT (license)

Dependencies

build, glob, logger, petitparser, source_gen, yaml

More

Packages that depend on retrofit_graphql