artemis_custom 2.1.4 icon indicating copy to clipboard operation
artemis_custom: ^2.1.4 copied to clipboard

Build dart types from GraphQL schemas and queries (using Introspection Query).

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add artemis_custom

With Flutter:

 $ flutter pub add artemis_custom

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

dependencies:
  artemis_custom: ^2.1.4

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:artemis_custom/artemis.dart';
import 'package:artemis_custom/builder.dart';
import 'package:artemis_custom/client.dart';
import 'package:artemis_custom/generator.dart';
import 'package:artemis_custom/generator/data.dart';
import 'package:artemis_custom/generator/graphql_helpers.dart';
import 'package:artemis_custom/generator/helpers.dart';
import 'package:artemis_custom/generator/print_helpers.dart';
import 'package:artemis_custom/schema/graphql.dart';
import 'package:artemis_custom/schema/graphql.g2.dart';
import 'package:artemis_custom/schema/graphql_query.dart';
import 'package:artemis_custom/schema/graphql_response.dart';
import 'package:artemis_custom/schema/options.dart';
import 'package:artemis_custom/schema/options.g2.dart';