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';
0
likes
130
pub points
62%
popularity

Publisher

unverified uploader

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