leto_schema 0.0.1-dev.6 leto_schema: ^0.0.1-dev.6 copied to clipboard
An implementation of GraphQL's type system in Dart. Basis of leto.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add leto_schema
With Flutter:
$ flutter pub add leto_schema
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
leto_schema: ^0.0.1-dev.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:leto_schema/leto_schema.dart';