As someone mentioned in a comment to an (outdated) answer, the nowadays (due to Dart being supplied / integrated with / in Flutter now) suggested correct use of pub is to be called via the flutter command:
`flutter pub`
ie. to use gRPC / protobufs v3 w/ Dart / Flutter:
`flutter pub global activate protoc_plugin`