mk_graphql_generator 1.1.1
mk_graphql_generator: ^1.1.1 copied to clipboard
Fast build_runner generator for mk_graphql. Generates Freezed data models, operations, variables, fragments, and combiner queries into .gql.dart files.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add mk_graphql_generatorWith Flutter:
$ flutter pub add mk_graphql_generatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
mk_graphql_generator: ^1.1.1Alternatively, 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:mk_graphql_generator/mk_graphql_generator.dart';