Open jankuss opened 4 months ago
Right now, it is not possible to define default values for classes. This is due to dart not allowing default values on redirecting constructors.
We should support this, possibly using the same approach as freezed by using a special annotation (https://pub.dev/packages/freezed#default-values).
freezed
Right now, it is not possible to define default values for classes. This is due to dart not allowing default values on redirecting constructors.
We should support this, possibly using the same approach as
freezed
by using a special annotation (https://pub.dev/packages/freezed#default-values).