After build runner InvalidType #1241
Unanswered
mohamadalghanem474
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@freezed
abstract class SubState with _$SubState {
const factory SubState({
@default(null) T? data,
@default(Status.initial) Status status,
@default('') String message,
}) = _SubState;
}
@freezed
abstract class OrderState with _$OrderState {
const factory OrderState({
@default(SubState()) SubState shipmentVendorListState,
}) = _OrderState;
}
/////// here issue
$SubStateCopyWith<InvalidType, $Res> get shipmentVendorListState;
Beta Was this translation helpful? Give feedback.
All reactions