gql_code_builder 0.2.0
gql_code_builder: ^0.2.0 copied to clipboard

Dart code builders taking *.graphql documents and SDL to build useful classes.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add gql_code_builder

With Flutter:

 $ flutter pub add gql_code_builder

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


dependencies:
  gql_code_builder: ^0.2.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:gql_code_builder/ast.dart';
import 'package:gql_code_builder/data.dart';
import 'package:gql_code_builder/req.dart';
import 'package:gql_code_builder/schema.dart';
import 'package:gql_code_builder/serializer.dart';
import 'package:gql_code_builder/source.dart';
import 'package:gql_code_builder/var.dart';
0
likes
110
pub points
87%
popularity

Publisher

gql-dart.dev

Dart code builders taking *.graphql documents and SDL to build useful classes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

analyzer, built_collection, built_value, code_builder, collection, gql, gql_exec, path, recase

More

Packages that depend on gql_code_builder