gql_tristate_value 1.0.0 copy "gql_tristate_value: ^1.0.0" to clipboard
gql_tristate_value: ^1.0.0 copied to clipboard

A wrapper class for representing a value that can be absent, present and null, or present and non-null.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add gql_tristate_value

With Flutter:

 $ flutter pub add gql_tristate_value

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

dependencies:
  gql_tristate_value: ^1.0.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:gql_tristate_value/gql_tristate_value.dart';
1
likes
150
points
101k
downloads

Publisher

unverified uploader

Weekly Downloads

A wrapper class for representing a value that can be absent, present and null, or present and non-null.

Repository (GitHub)
View/report issues

Topics

#graphql #gql #codegen

Documentation

API reference

License

MIT (license)

More

Packages that depend on gql_tristate_value