Generated .pbgrpc.dart has below code,
@$pb.GrpcServiceName('') class Client extends $grpc.Client {
Error - Undefined name '$pb' used as an annotation. Try defining the name or importing it from another library.
My dart version is 3.0.5 and protoc is 23.3
Can you please let me know what is being missed.