dart_sanity_client 0.4.0 copy "dart_sanity_client: ^0.4.0" to clipboard
dart_sanity_client: ^0.4.0 copied to clipboard

A complete sanity.io http client. includes queries in groq and graphql(soon). Has methods for fetch, create, patch, and publish.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_sanity_client

With Flutter:

 $ flutter pub add dart_sanity_client

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

dependencies:
  dart_sanity_client: ^0.4.0

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:dart_sanity_client/dart_sanity_client.dart';
0
likes
160
points
40
downloads

Publisher

unverified uploader

Weekly Downloads

A complete sanity.io http client. includes queries in groq and graphql(soon). Has methods for fetch, create, patch, and publish.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

http

More

Packages that depend on dart_sanity_client