GraphQLNumRangedType<T extends num> class

Inheritance

Constructors

GraphQLNumRangedType(String name, T min, T max, {String? description})

Properties

description ↔ String
A description of this type, which, while optional, can be very useful in tools like GraphiQL.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
max → T
final
min → T
final
name → String
The name of this type.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
valueType → Type
no setterinherited

Methods

coerceToInputObject() → GraphQLType<T, T>
Turns this type into one suitable for being provided as an input to a GraphQLObjectField.
inherited
convert(Object? value) → T?
Attempts to cast a dynamic value into a Serialized instance.
inherited
deserialize(Object? serialized) → T
Deserializes a serialized value.
inherited
list() → GraphQLListType<T, T>
inherited
nonNullable() → GraphQLType<T, T>
Creates a non-nullable type that represents this type, and enforces that a field of this type is present in input data.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(Object? value) → T
Serializes an arbitrary input value.
inherited
toString() → String
A string representation of this object.
inherited
validate(String key, covariant Object? input) → ValidationResult<T>
Performs type coercion against an input value, and returns a list of errors if the validation was unsuccessful.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited