addImplicitFinal property
Whether to assume that all constructor parameters are marked as final.
This means that:
@Freezed(addImplicitFinal: true) // default to true
class Person with _$Person {
factory Person(String name, int age) = _Person;
}
is strictly equivalent to:
@Freezed(addImplicitFinal: false)
class Person with _$Person {
factory Person(final String name, final int age) = _Person;
}
Implementation
final bool addImplicitFinal;