withEnum method

FieldType withEnum(
  1. bool newIsEnum
)

Implementation

FieldType withEnum(bool newIsEnum) {
  return FieldType(
    isEnum: newIsEnum,
    name: name,
    displayName: displayName,
    isPrimitive: isPrimitive,
    generics: generics,
    parent: parent,
    isOptional: isOptional,
  );
}