gql_tristate_value 1.0.0 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.
A Value
class used to represent the three possible states:
- absence of a value
- presence of a value that is
null
- presence of a non-null value
This class is used by the generated code for GraphQL variables and input types that are nullable
in order to distinguish between the absence of a value and the presence of a null
value, typically
used for "update" Mutations.