InputType class
Input type.
- Annotations
-
- @JsonSerializable(createFactory: true, createToJson: true, explicitToJson: true)
Constructors
-
InputType.new({required String name, InputConstraints? constraints, required List<
SchemaArg> fields, Map<String, SchemaArg> ? fieldMap}) -
Create a new input type.
const
-
InputType.fromJson(Map<
String, dynamic> json) -
Input type from JSON factory constructor.
factory
Properties
- constraints → InputConstraints?
-
Type constraints.
final
-
fieldMap
→ Map<
String, SchemaArg> ? -
Field map for schema args.
final
-
fields
→ List<
SchemaArg> -
Schema args for fields.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Type name
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Input type as JSON map.
-
toString(
) → String -
Input type as JSON string.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited