gql_dio_link 1.0.2-alpha+1709845491515 gql_dio_link: ^1.0.2-alpha+1709845491515 copied to clipboard
Similar to gql_http_link, gql_dio_link is a GQL Terminating Link to execute requests via Dio using JSON
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add gql_dio_link
With Flutter:
$ flutter pub add gql_dio_link
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
gql_dio_link: ^1.0.2-alpha+1709845491515
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:gql_dio_link/gql_dio_link.dart';