OutputType class
Output type.
- Annotations
-
- @JsonSerializable(createFactory: true, createToJson: true, explicitToJson: true)
Constructors
-
OutputType({required String name, required List<
SchemaField> fields, Map<String, SchemaField> ? fieldMap}) -
Create a new output type.
const
-
OutputType.fromJson(Map<
String, dynamic> json) -
Output type from JSON factory constructor.
factory
Properties
-
fieldMap
→ Map<
String, SchemaField> ? -
Field map for output type fields.
final
-
fields
→ List<
SchemaField> -
Output type fields, type is SchemaField
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> - Output type as JSON map.
-
toString(
) → String -
Output type as JSON string.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited