I have a class that has a mixin generated through freezed
.
I have another class that has a mixin generated through freezed
.
I want to extend the second class, but I receive a type error because the mixin methods have differences.
Example:
class A with _$A {
const factory A.initial() = _Initial;
}
class B with _$B {
const factory B.final() = _Final;
}
I want:
class B extends A with _$B, _$A {
const factory B.final() = _Final;
}
and then I should be able to use:
B.initial()