mk_graphql_generator 1.1.1 copy "mk_graphql_generator: ^1.1.1" to clipboard
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_generator

With Flutter:

 $ flutter pub add mk_graphql_generator

This 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.1

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:mk_graphql_generator/mk_graphql_generator.dart';
0
likes
140
points
170
downloads

Documentation

API reference

Publisher

verified publisherkishormainali.com

Weekly Downloads

Fast build_runner generator for mk_graphql. Generates Freezed data models, operations, variables, fragments, and combiner queries into .gql.dart files.

Homepage
Repository (GitHub)
View/report issues

Topics

#graphql #code-generation #freezed #build-runner #generator

License

MIT (license)

Dependencies

args, build, code_builder, crypto, dart_style, gql, http, path, recase, yaml

More

Packages that depend on mk_graphql_generator