# DataTypeStruct class

> This page is about FlutterFlow Studio (the visual builder), not FlutterFlow (the app builder you use by describing your app).

URL: https://docs.flutterflow.io/generated-code/custom-data-types

This guide uses example of the generated code of the EcommerceFlow demo app. To view the generated code directly, check out the Github repository.

:::note[Prerequisites]
This guide uses example of the generated code of the **[EcommerceFlow demo app](https://bit.ly/ff-docs-demo-v2)**. To view the generated code directly, check out the **[Github repository](https://github.com/FlutterFlow/sample-apps/tree/main/ecommerce_flow)**.
:::

When you create a custom data type in the FlutterFlow Studio editor, a corresponding class is generated in the code to act as a structured container for your data, similar to a `Struct`. This class includes simple getters and setters for each field. For example, if your data type in FlutterFlow Studio is named "Product", the generated class will be named `ProductStruct` and can be found in the `product_struct.dart` file.

![custom-data-type-gen-class.png](https://docs.flutterflow.io/assets/images/custom-data-type-gen-class-dada69e3fce9f4e9adb7fbba271143b9.png)
