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
copied to clipboard

With Flutter:

 $ flutter pub add gql_tristate_value
copied to clipboard

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
copied to clipboard

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';
copied to clipboard
1
likes
150
points
126k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.10.06 - 2025.04.20

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

Repository (GitHub)

Topics

#graphql #gql #codegen

Documentation

API reference

License

MIT (license)

More

Packages that depend on gql_tristate_value