You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a provider where I am importing three packages, all of which has a class with same name. I imported them with alias using 'as' prefix.
The code generator is not generating the code with the said prefix.
To Reproduce
import 'package:keyzane/model/entity/user.dart' as entity;
@riverpod
class InitStreamChat extends _$InitStreamChat {
@override
FutureOr<void> build(entity.User currentUser, TokenResponse tokenResponse) {}
}
abstract class _$InitStreamChat
extends BuildlessAutoDisposeAsyncNotifier<void> {
late final User currentUser;
late final TokenResponse tokenResponse;
FutureOr<void> build(
User currentUser,
TokenResponse tokenResponse,
);
}
Expected behavior
Instead of late final User currentUser;, it should be late final entity.User currentUser;.
The text was updated successfully, but these errors were encountered:
I have a provider where I am importing three packages, all of which has a class with same name. I imported them with alias using 'as' prefix.
The code generator is not generating the code with the said prefix.
To Reproduce
Expected behavior
Instead of
late final User currentUser;
, it should belate final entity.User currentUser;
.The text was updated successfully, but these errors were encountered: