gql_code_builder2 0.3.0 gql_code_builder2: ^0.3.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_builder2
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
gql_code_builder2: ^0.3.0
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:gql_code_builder2/ast.dart';
import 'package:gql_code_builder2/data.dart';
import 'package:gql_code_builder2/req.dart';
import 'package:gql_code_builder2/schema.dart';
import 'package:gql_code_builder2/serializer.dart';
import 'package:gql_code_builder2/source.dart';
import 'package:gql_code_builder2/var.dart';