graphql_codegen_config 0.2.6 graphql_codegen_config: ^0.2.6 copied to clipboard
Config library for graphql_codegen
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add graphql_codegen_config
With Flutter:
$ flutter pub add graphql_codegen_config
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
graphql_codegen_config: ^0.2.6
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:graphql_codegen_config/config.dart';
import 'package:graphql_codegen_config/config.g.dart';