TypeDefinition constructor

TypeDefinition({
  1. required String className,
  2. List<TypeDefinition> generics = const [],
  3. required bool nullable,
  4. String? url,
  5. DartType? dartType,
  6. bool customClass = false,
  7. EnumDefinition? enumDefinition,
  8. SerializableModelDefinition? projectModelDefinition,
  9. String? recordFieldName,
  10. int? vectorDimension,
})

Implementation

TypeDefinition({
  required this.className,
  this.generics = const [],
  required this.nullable,
  this.url,
  this.dartType,
  this.customClass = false,
  this.enumDefinition,
  this.projectModelDefinition,
  this.recordFieldName,
  this.vectorDimension,
});