Freezed when
method isn't recognized β help needed
#4350
Labels
request
Requests to resolve a particular developer problem
Hey folks π
I'm trying to use
freezed
for the first time to handle myCubit
states, but I can't access the generated methods likewhen
,maybeWhen
, etc. The error I get is:β What I did
π My
AuthState
classπ My `AuthCubit class
π’ where i try to use when
what i've tried
remove all dependencies and add them again
delete pubspec.lock and run flutter clean ,flutter pub get then run build runner again
Ran flutter pub run build_runner build --delete-conflicting-outputs
add this to analysis_options.yaml
Tried hot restart and full rebuild
The text was updated successfully, but these errors were encountered: