asNonNullable property

TypeDefinition get asNonNullable

Get this TypeDefinition, but non nullable.

Implementation

TypeDefinition get asNonNullable => TypeDefinition(
  className: className,
  url: url,
  nullable: false,
  customClass: customClass,
  dartType: dartType,
  generics: generics,
  enumDefinition: enumDefinition,
  projectModelDefinition: projectModelDefinition,
  recordFieldName: recordFieldName,
  vectorDimension: vectorDimension,
);