To define a class using Freezed, you will not declare properties but instead factory constructors . For example, if you want to define a Person class, which has 2 properties: name, a String. age, an int.
To define a class using Freezed, you will not declare properties but instead factory constructors . For example, if you want to define a Person class, which has 2 properties: name, a String. age, an int.