FieldType constructor
FieldType({})
Implementation
FieldType({
required this.name,
required this.displayName,
required this.isPrimitive,
this.generics = const [],
this.parent,
this.isOptional = false,
this.isEnum = false,
}) {
for (final generic in generics) {
generic.parent = this;
}
}